1
0
Эх сурвалжийг харах

Merge pull request #276 from fifsky/patch-2

修正事件延迟绑定
Minho 7 жил өмнө
parent
commit
c50895d6ba
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      views/book/index.tpl

+ 2 - 2
views/book/index.tpl

@@ -375,7 +375,7 @@
         /**
          * 创建项目
          */
-        $("#btnSaveDocument").on("click",function () {
+        $("body").on("click","#btnSaveDocument",function () {
             var $this = $(this);
 
 
@@ -544,4 +544,4 @@
     });
 </script>
 </body>
-</html>
+</html>