From ec2b4bab83a5eb6ddcdb41853d311b99b71c6f86 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 26 Jul 2015 11:43:02 +0200 Subject: fix problem with IE11 hopefully doesn't break in the other browsers --- lib/plugins/styling/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/plugins/styling/script.js b/lib/plugins/styling/script.js index aa343fd71..074c8dc40 100644 --- a/lib/plugins/styling/script.js +++ b/lib/plugins/styling/script.js @@ -35,7 +35,7 @@ jQuery(function () { } // load preview in main window (timeout works around chrome updating CSS weirdness) - target.setTimeout(function () { + setTimeout(function () { var now = new Date().getTime(); $style.attr('href', DOKU_BASE + 'lib/exe/css.php?preview=1&tseed=' + now); }, 500); -- cgit v1.2.3