diff options
author | Pierre Spring <pierre.spring@caillou.ch> | 2010-09-17 15:13:37 +0200 |
---|---|---|
committer | Pierre Spring <pierre.spring@caillou.ch> | 2010-09-27 11:52:16 +0200 |
commit | 9cefc1d140c6f6b265cfad6847cb8c64d2432253 (patch) | |
tree | 03c177947feca9687c289f5fe8cf73b1e3b73593 /lib/scripts/script.js | |
parent | 07d7dfcf87238d920900ca468d9399d80d8b7247 (diff) | |
download | rpg-9cefc1d140c6f6b265cfad6847cb8c64d2432253.tar.gz rpg-9cefc1d140c6f6b265cfad6847cb8c64d2432253.tar.bz2 |
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 */ |