Browse Source

Merge branch 'master' of http://192.168.3.18:3000/CallPro/EBook

pengmi 4 years ago
parent
commit
440d2e0a87
1 changed files with 1 additions and 2 deletions
  1. 1 2
      EBook.Web/EditTable/EditTable.js

+ 1 - 2
EBook.Web/EditTable/EditTable.js

@@ -1,5 +1,4 @@
 var AdjustTableFunc = function () {
-    var TriggerFlag = false;  // 触发标志
     var Index = 0;
     $.each($("table"), function (index, item) {
         var TableWidth = isNaN(parseFloat($(item).width())) ? 0 : parseFloat($(item).width());  // 表格宽度
@@ -32,7 +31,7 @@
     });
     // 滚动条事件
     $(".TableContainer").on("touchstart", function () {
-        TriggerFlag = true;
+        pressTableFlag = true;
     }).on("touchmove", function () {
         var TableWidth = isNaN(parseFloat($(this).find("table").width())) ? 0 : parseFloat($(this).find("table").width());  // 表格宽度
         var BodyWidth = isNaN(parseFloat($(document).width())) ? 0 : parseFloat($(document).width());  // 界面宽度