[ticket/11563] Remove duplicate code

PHPBB3-11563
This commit is contained in:
Vjacheslav Trushkin 2013-07-11 11:00:04 -04:00
parent a9259b12aa
commit 1d97945593

View file

@ -117,7 +117,7 @@ jQuery(document).ready(function() {
if (panels.length) { if (panels.length) {
subPanels(show_panel); subPanels(show_panel);
jQuery('a[data-subpanel]', this).click(function () { childNodes.click(function () {
subPanels(this.getAttribute('data-subpanel')); subPanels(this.getAttribute('data-subpanel'));
return false; return false;
}); });