mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 02:59:29 +02:00
[feature/ajax] Fixed a small bug in the JavaScript.
The bug meant that code outside of the function that ran on document ready would not be able to access the phpbb object. PHPBB3-10270
This commit is contained in:
parent
e4ea4d1c57
commit
22c6953c11
@ -1,4 +1,6 @@
|
|||||||
;(function($) { //avoid conflicts with other libraries
|
var phpbb = {};
|
||||||
|
|
||||||
|
(function($) { //avoid conflicts with other libraries
|
||||||
|
|
||||||
|
|
||||||
$.querystring = function(string) {
|
$.querystring = function(string) {
|
||||||
@ -13,8 +15,6 @@ $.querystring = function(string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var phpbb = {};
|
|
||||||
|
|
||||||
var dark = $('<div id="darkenwrapper"><div id="darken"> </div></div>');
|
var dark = $('<div id="darkenwrapper"><div id="darken"> </div></div>');
|
||||||
$('body').append(dark);
|
$('body').append(dark);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user