From 1d9794559354d7c52da7751e5d1fdcb17fe949e5 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Thu, 11 Jul 2013 11:00:04 -0400 Subject: [PATCH] [ticket/11563] Remove duplicate code PHPBB3-11563 --- phpBB/styles/prosilver/template/forum_fn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 0f11fd7b7a..1ab1387d10 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -117,7 +117,7 @@ jQuery(document).ready(function() { if (panels.length) { subPanels(show_panel); - jQuery('a[data-subpanel]', this).click(function () { + childNodes.click(function () { subPanels(this.getAttribute('data-subpanel')); return false; });