|
@@ -10,6 +10,12 @@ $(function() {
|
|
return true;
|
|
return true;
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ $(document).on("click touchend", function(e) {
|
|
|
|
+ if (!$(e.target).closest("#searchOptions, #searchOptionsButton").length) {
|
|
|
|
+ $("#searchOptions").removeClass("active");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
$("[data-toggle='control-options']").click(function(e) {
|
|
$("[data-toggle='control-options']").click(function(e) {
|
|
e.preventDefault();
|
|
e.preventDefault();
|
|
var target = $(this).attr("data-target") || $(this).attr("href");
|
|
var target = $(this).attr("data-target") || $(this).attr("href");
|