From 08adbbd64f9e44a525b2afcaabf371cc9d90dd42 Mon Sep 17 00:00:00 2001 From: Rieko-wang Date: Sun, 4 Dec 2022 12:02:10 +0800 Subject: [PATCH] 123 --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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({