summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-06 20:20:41 -0400
committernfoy <nfoy@purdue.edu>2014-04-06 20:20:41 -0400
commitf06e7769ec201f17adc87251da63075a86ce1a94 (patch)
treeafc75dc1489590285bdfbf290004efcf1a6208ee /app/views/layouts/application.html.erb
parent7b5bf825a8174712f3ef6e9ea7f6180e7d230f99 (diff)
parentf3c395c56a644d976aa9a5608300557600bc683e (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Conflicts: app/views/matches/show.html.erb
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r--app/views/layouts/application.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 6d1d7f4..de9f3b8 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -8,6 +8,11 @@
<%= yield :head %>
</head>
<body>
+<script>
+ window.onload = function() {
+ BetterDragSort.makeListSortable(document.getElementById("boxes"));
+ };
+</script>
<header><nav>
<div class="navbar-brand"><%= link_to('Leaguer', root_path) %></div>
<div>