diff options
author | Pierre Spring <pierre.spring@caillou.ch> | 2010-09-17 15:13:37 +0200 |
---|---|---|
committer | Pierre Spring <pierre.spring@caillou.ch> | 2010-10-10 17:29:20 +0200 |
commit | 2d6262c1145c5937afa14d66b5203c84393df679 (patch) | |
tree | 43327c39d7d68f72f992cdb369baa899bf95069d /lib/scripts/script.js | |
parent | 4ea48b361401e136dbfd3339af368ceeb5b27480 (diff) | |
download | dokuwiki-2d6262c1145c5937afa14d66b5203c84393df679.tar.gz dokuwiki-2d6262c1145c5937afa14d66b5203c84393df679.zip |
loading jQuery and putting it into noConflict mode
Diffstat (limited to 'lib/scripts/script.js')
-rw-r--r-- | lib/scripts/script.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/scripts/script.js b/lib/scripts/script.js index c79c9b683..1badf63a5 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -1,3 +1,8 @@ +// if jQuery was loaded, let's make it noConflict here. +if ('function' === typeof jQuery && 'function' === typeof jQuery.noConflict) { + jQuery.noConflict(); +} + /** * Some of these scripts were taken from wikipedia.org and were modified for DokuWiki */ |