Contextual save bar not working correctly

Noticed this today, on clicking ‘save’ on the contextual save bar, the ‘leave site’ warning now pops up, this didn’t occur yesterday with no changes to the site.

here is our code

		<ui-save-bar id="my_save_bar">
			<button id="my_save_bar_save" variant="primary" onClick="doFormSubmit()"></button>
			<button id="my_save_bar_reset" onClick="doFormReset()"></button>
		</ui-save-bar>


...


        function doFormSubmit() {
			$('#my_save_bar_save').prop('disabled',true);
			$('#my_save_bar_reset').prop('disabled',true);
			$('#frmSettings').submit();
			shopify.loading(true);
		}

Hi @Min_Liu I have same question here Contextual save bar Discard button is not working - #4 by Henry_Tao

Cheers, seems to be resolved now.