diff --git a/resources/assets/js/focus-creator.js b/resources/assets/js/focus-creator.js index d2ee8d13682d731e413e7f1ba29f581061705bf9..656ea4a6f9d95a9f88bcc9513162165dbc9a4735 100644 --- a/resources/assets/js/focus-creator.js +++ b/resources/assets/js/focus-creator.js @@ -339,18 +339,6 @@ function getFocusInUrl () { } } -function openOptionsDialog () { - $('#toggleOptBtn').html('<i class="fa fa-chevron-up" aria-hidden="true"></i>'); - $('#toggleOptBtn').attr('data-mode', 'c'); - $('.search-option-frame').removeClass('hide'); -} - -function closeOptionsDialog () { - $('#toggleOptBtn').html('<i class="fa fa-chevron-down" aria-hidden="true"></i>'); - $('#toggleOptBtn').attr('data-mode', 'o'); - $('.search-option-frame').addClass('hide'); -} - function checkboxCheckListener (event) { toggleDeleteButton(); var elem = event.target; diff --git a/resources/assets/js/searchbar.js b/resources/assets/js/searchbar.js index cc5537840e86af0b4eb400fd5a90ab21c2e397c8..636c9c1cbabe8b432033a391445ac194f7ffa2e6 100644 --- a/resources/assets/js/searchbar.js +++ b/resources/assets/js/searchbar.js @@ -52,4 +52,14 @@ function toggleOptionsDialog () { } } -//# sourceMappingURL=searchbar.js.map \ No newline at end of file +function openOptionsDialog () { + $('#toggleOptBtn').html('<i class="fa fa-chevron-up" aria-hidden="true"></i>'); + $('#toggleOptBtn').attr('data-mode', 'c'); + $('.search-option-frame').removeClass('hide'); +} + +function closeOptionsDialog () { + $('#toggleOptBtn').html('<i class="fa fa-sliders" aria-hidden="true"></i>'); + $('#toggleOptBtn').attr('data-mode', 'o'); + $('.search-option-frame').addClass('hide'); +}