Commit 90b1e11

mo khan <mo@mokhan.ca>
2015-04-11 22:19:04
bring back the items js.
1 parent 72dcd07
Changed files (2)
app
assets
javascripts
stylesheets
app/assets/javascripts/items.js
@@ -1,10 +1,10 @@
-//$(function(){
-	//$(".delete_stub").click(function(){
-		//$(this).hide();
-		//$(".delete_form").show();
-	//});
-	//$(".delete_form .cancel").click(function(){
-		//$(this).parent("form").hide();
-		//$(".delete_stub").show();
-	//});
-//});
+$(function(){
+  $(".delete_stub").click(function(){
+    $(this).hide();
+    $(".delete_form").show();
+  });
+  $(".delete_form .cancel").click(function(){
+    $(this).parent("form").hide();
+    $(".delete_stub").show();
+  });
+});
app/assets/stylesheets/global.scss
@@ -37,8 +37,6 @@ header {
   }
 }
 
-
-
 nav h1 {
   font-family: 'Playfair Display', serif;
   text-transform: none;