mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/ajax] Added code to avoid conflicts with other libraries using $
PHPBB3-10270
This commit is contained in:
parent
7ccc18297a
commit
149daa0e4f
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
;(function($) { //avoid conflicts with other libraries
|
||||||
|
|
||||||
|
|
||||||
$.querystring = function(string) {
|
$.querystring = function(string) {
|
||||||
var end = {}, i;
|
var end = {}, i;
|
||||||
|
|
||||||
|
@ -345,3 +348,6 @@ phpbb.ajaxify({
|
||||||
return !(d == 'lock' || d == 'unlock' || d == 'delete_topic' || d.slice(0, 5) == 'make_');
|
return !(d == 'lock' || d == 'unlock' || d == 'delete_topic' || d.slice(0, 5) == 'make_');
|
||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
|
||||||
|
})(jQuery); //avoid conflicts with other libraries
|
||||||
|
|
Loading…
Add table
Reference in a new issue