1
0
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:
Marc Alexander 2014-04-11 11:31:22 +02:00
parent b2eef2f5f9
commit fbeed2d975

View File

@ -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'));
}
/**