summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-07-26 11:43:02 +0200
committerAndreas Gohr <andi@splitbrain.org>2015-07-26 11:43:33 +0200
commitec2b4bab83a5eb6ddcdb41853d311b99b71c6f86 (patch)
treeb9e3a43d320b8c8c19ef895e4eb7a978c95ba960
parent0bfc8d5a03c495c3436780901fe59341faee4d9e (diff)
downloadrpg-ec2b4bab83a5eb6ddcdb41853d311b99b71c6f86.tar.gz
rpg-ec2b4bab83a5eb6ddcdb41853d311b99b71c6f86.tar.bz2
fix problem with IE11
hopefully doesn't break in the other browsers
-rw-r--r--lib/plugins/styling/script.js2
1 files changed, 1 insertions, 1 deletions
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);