Commit | Line | Data |
---|---|---|
1 | $(document).ready(function() { | |
2 | ||
3 | // Instructs the browser to release the focus from buttons. Could be a Bootstrap bug. | |
4 | ||
5 | $(".btn").mouseup(function() { | |
6 | $(this).blur(); | |
7 | }) | |
8 | ||
9 | // Push the 'Actions' pane to the bottom on mobile | |
10 | if ($('body').width() < 960) { | |
11 | $("#actions").insertBefore("#charities"); | |
12 | } else { | |
13 | $("#actions").insertAfter("#intro"); | |
14 | } | |
15 | ||
16 | }); |