ソースを参照

fix #2190 fix links of menus

Shinsuke Sugaya 6 年 前
コミット
c88979a369
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/main/webapp/js/help.js
  2. 1 1
      src/main/webapp/js/search.js

+ 1 - 1
src/main/webapp/js/help.js

@@ -11,7 +11,7 @@ $(function() {
   });
 
   $(document).on("click touchend", function(e) {
-    if (!$(e.target).closest("#searchOptions, #searchOptionsButton").length) {
+    if (!$(e.target).closest("#searchOptions, [data-toggle='control-options']").length) {
       $("#searchOptions").removeClass("active");
     }
   });

+ 1 - 1
src/main/webapp/js/search.js

@@ -15,7 +15,7 @@ $(function() {
   });
 
   $(document).on("click touchend", function(e) {
-    if (!$(e.target).closest("#searchOptions, #searchOptionsButton").length) {
+    if (!$(e.target).closest("#searchOptions, [data-toggle='control-options']").length) {
       $("#searchOptions").removeClass("active");
     }
   });