aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/js/popupForm.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/popupForm.js')
-rw-r--r--themes/default/js/popupForm.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/themes/default/js/popupForm.js b/themes/default/js/popupForm.js
deleted file mode 100644
index eb6d1ae2..00000000
--- a/themes/default/js/popupForm.js
+++ /dev/null
@@ -1,29 +0,0 @@
1$(document).ready(function() {
2
3 $("#search-form").hide();
4
5 function closeSearch() {
6 $("#search-form").toggle();
7 $("#search").toggleClass("current");
8 $("#search-arrow").toggleClass("arrow-down");
9 }
10
11 $("#search").click(function(){
12 closeSearch();
13 // if other popup is already shown
14 if ($("#bagit-form").length != 0) {
15 $("#bagit").removeClass("active-current");
16 $('#content').removeClass("opacity03");
17 $("#bagit").removeClass("current");
18 $("#bagit-arrow").removeClass("arrow-down");
19 $("#bagit-form").hide();
20 }
21 $('#searchfield').focus();
22 });
23
24 $("#search-form-close").click(function(){
25 closeSearch();
26 });
27
28
29}); \ No newline at end of file