From: Tim Düsterhus Date: Sat, 7 Jan 2012 16:58:37 +0000 (+0100) Subject: Vaporize commas after the last element in an array or object X-Git-Tag: 2.0.0_Beta_1~1445^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81d1b3b5a1a7b633768340d44164614d7262b51f;p=GitHub%2FWoltLab%2FWCF.git Vaporize commas after the last element in an array or object --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 81e1706094..6c02a1f9a2 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -4238,19 +4238,19 @@ $.widget('ui.wcfPages', { // you can prevent the page switching by returning false or by event.preventDefault() // in a shouldSwitch-callback. e.g. if an AJAX request is already running. var $result = this._trigger('shouldSwitch', undefined, { - nextPage: value, + nextPage: value }); if ($result) { this.options[key] = value; this._render(); this._trigger('switched', undefined, { - activePage: value, + activePage: value }); } else { this._trigger('notSwitched', undefined, { - activePage: value, + activePage: value }); } }