summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/nav/SearchView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/nav/SearchView.js')
-rw-r--r--StoneIsland/www/js/lib/nav/SearchView.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/nav/SearchView.js b/StoneIsland/www/js/lib/nav/SearchView.js
new file mode 100644
index 00000000..8739f088
--- /dev/null
+++ b/StoneIsland/www/js/lib/nav/SearchView.js
@@ -0,0 +1,16 @@
+var SearchView = View.extend({
+
+ el: "#search",
+
+ events: {
+ },
+
+ show: function(){
+ document.body.classList.add("search")
+ },
+
+ hide: function(){
+ document.body.classList.remove("search")
+ },
+
+}) \ No newline at end of file