summaryrefslogtreecommitdiff
path: root/public/static/collapse.js
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-13 18:05:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-13 18:05:29 +0200
commitc2ff9cf0e82c36d3b1a514fec36f1c5d20bab862 (patch)
tree4093cf53cc475e1142843144f9a83862a7527e81 /public/static/collapse.js
parent4ec583098a6e600cb6c1c9feecccc59050060d83 (diff)
use recommended method of calling jquery ready handlers2.0.3
Diffstat (limited to 'public/static/collapse.js')
-rw-r--r--public/static/collapse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/collapse.js b/public/static/collapse.js
index e4c9f33..e7d0fe0 100644
--- a/public/static/collapse.js
+++ b/public/static/collapse.js
@@ -34,7 +34,7 @@ function dbf_reg_handlers() {
});
}
-$(document).ready(function() {
+$(function() {
if (document.location.hash.length > 1) {
var wanted = document.location.hash.replace('#', '');
$('div.app > ul > li > .moreinfo, div.infoscreen > ul > li > .moreinfo').each(function() {