From fbeed2d975b4c080d3f391226b9b69b61f55aa23 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 11 Apr 2014 11:31:22 +0200 Subject: [PATCH] [ticket/12372] Use $() instead of jQuery() in core.js for toggleDisplay PHPBB3-12372 --- phpBB/assets/javascript/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 9f89125a18..7452d59d7c 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -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')); } /**