aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-07-11 11:00:04 -0400
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-07-11 11:00:04 -0400
commit1d9794559354d7c52da7751e5d1fdcb17fe949e5 (patch)
tree1302af80b26656ae3c1ab2a2731c39d716b5842b /phpBB/styles/prosilver
parenta9259b12aa07057c3b9e3575b1429b16bfdb9509 (diff)
downloadforums-1d9794559354d7c52da7751e5d1fdcb17fe949e5.tar
forums-1d9794559354d7c52da7751e5d1fdcb17fe949e5.tar.gz
forums-1d9794559354d7c52da7751e5d1fdcb17fe949e5.tar.bz2
forums-1d9794559354d7c52da7751e5d1fdcb17fe949e5.tar.xz
forums-1d9794559354d7c52da7751e5d1fdcb17fe949e5.zip
[ticket/11563] Remove duplicate code
PHPBB3-11563
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js2
1 files changed, 1 insertions, 1 deletions
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;
});