浏览代码

System: Prevent datepicker selection from discarding moe

Vijayakrishnan 3 年之前
父节点
当前提交
20ff271823
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 0 0
      public/js/yemi.js
  2. 2 1
      yemi.js

文件差异内容过多而无法显示
+ 0 - 0
public/js/yemi.js


+ 2 - 1
yemi.js

@@ -585,7 +585,8 @@ jQuery(document).ready(function () {
         if($(e.target).closest('[moe]').length ||
         if($(e.target).closest('[moe]').length ||
             $(e.target).closest('#create-shortcut-form').length ||
             $(e.target).closest('#create-shortcut-form').length ||
             $(e.target).is('#create-shortcut-form') ||
             $(e.target).is('#create-shortcut-form') ||
-            $(e.target).is('.stag-shortcuts .sc')){
+            $(e.target).is('.stag-shortcuts .sc') ||
+            $(e.target).closest('.ui-datepicker').length) {
             return;
             return;
         }
         }
         $('[moe] [url]:not([show])').hide();
         $('[moe] [url]:not([show])').hide();

部分文件因为文件数量过多而无法显示