Index: static/js/main.js |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/static/js/main.js |
@@ -0,0 +1,9 @@ |
+(function(){ |
+ document.addEventListener("DOMContentLoaded", function() |
+ { |
+ document.getElementById('toggle-searchform').addEventListener('click', function(e) { |
+ e.preventDefault(); |
+ document.getElementById('site-search').classList.toggle('open'); |
juliandoucette
2017/07/14 14:11:29
I don't remember if we agreed upon browser require
ire
2017/07/17 09:25:54
It was my impression the support was ie 9 and up a
|
+ }, false); |
+ }, false); |
+}()); |