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 @@ -