mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 22:58:10 +01:00
[ticket/12372] Use $() instead of jQuery() in core.js for toggleDisplay
PHPBB3-12372
This commit is contained in:
parent
b2eef2f5f9
commit
fbeed2d975
@ -1075,11 +1075,11 @@ phpbb.toggleDisplay = function(id, action, type) {
|
||||
type = 'block';
|
||||
}
|
||||
|
||||
var display = jQuery('#' + id).css('display');
|
||||
var display = $('#' + id).css('display');
|
||||
if (!action) {
|
||||
action = (display === '' || display === type) ? -1 : 1;
|
||||
}
|
||||
jQuery('#' + id).css('display', ((action === 1) ? type : 'none'));
|
||||
$('#' + id).css('display', ((action === 1) ? type : 'none'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user