From 81d1b3b5a1a7b633768340d44164614d7262b51f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 7 Jan 2012 17:58:37 +0100 Subject: [PATCH] Vaporize commas after the last element in an array or object --- wcfsetup/install/files/js/WCF.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }); } } -- 2.20.1