From e4bb86ead9359084222390197ddb80ba01da069a Mon Sep 17 00:00:00 2001 From: JerryYan <792602257@qq.com> Date: Wed, 12 Aug 2020 22:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=82=E7=AC=94=E5=A4=B4=201=20OK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/notepad.js | 2 +- templete/notepad.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/js/notepad.js b/js/notepad.js index 4afc9bd..8a68caf 100644 --- a/js/notepad.js +++ b/js/notepad.js @@ -1,5 +1,5 @@ mui.plusReady(function(){ - $(".footer").click(function(){ + $('body').on('click', ".footer[data-app='app']", function(){ app.create(); }) }) diff --git a/templete/notepad.html b/templete/notepad.html index 44b0056..0d11853 100644 --- a/templete/notepad.html +++ b/templete/notepad.html @@ -86,10 +86,10 @@ -