diff --git a/index.html b/index.html index d43e453..d5a70b7 100644 --- a/index.html +++ b/index.html @@ -199,15 +199,14 @@ $('.back-btn').click(function () { $('.my-account').removeClass('moveRight'); - if (isClickToLost) { - window?.ReactNativeWebView?.postMessage(1) - } else { + if (!isClickToLost) { window?.ReactNativeWebView?.postMessage(0) } }) $('.account-back').on('click', () => { window?.ReactNativeWebView?.postMessage(0) + isClickToLost = false; }) $.ajax({