mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01: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) {
|
||||
@ -13,8 +15,6 @@ $.querystring = function(string) {
|
||||
}
|
||||
|
||||
|
||||
var phpbb = {};
|
||||
|
||||
var dark = $('<div id="darkenwrapper"><div id="darken"> </div></div>');
|
||||
$('body').append(dark);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user