mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
[ticket/12372] Use $() instead of jQuery() in core.js for toggleDisplay
PHPBB3-12372
This commit is contained in:
parent
b2eef2f5f9
commit
fbeed2d975
1 changed files with 2 additions and 2 deletions
|
@ -1075,11 +1075,11 @@ phpbb.toggleDisplay = function(id, action, type) {
|
||||||
type = 'block';
|
type = 'block';
|
||||||
}
|
}
|
||||||
|
|
||||||
var display = jQuery('#' + id).css('display');
|
var display = $('#' + id).css('display');
|
||||||
if (!action) {
|
if (!action) {
|
||||||
action = (display === '' || display === type) ? -1 : 1;
|
action = (display === '' || display === type) ? -1 : 1;
|
||||||
}
|
}
|
||||||
jQuery('#' + id).css('display', ((action === 1) ? type : 'none'));
|
$('#' + id).css('display', ((action === 1) ? type : 'none'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue