From: Magnus Kühn Date: Thu, 28 Jun 2012 13:02:30 +0000 (+0200) Subject: Made wcfPages-Widget like PagesFunctionTemplatePlugin. X-Git-Tag: 2.0.0_Beta_1~1043^2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5814a7f5e15ca3a180f58122694bdf61ec595fe1;p=GitHub%2FWoltLab%2FWCF.git Made wcfPages-Widget like PagesFunctionTemplatePlugin. --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3076ffce81..59aa823d2f 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -6654,10 +6654,12 @@ $.widget('ui.wcfPages', { $previousLink.append($previousImage); } else { - var $previousImage = $(''); + var $previousImage = $(''); $previousElement.append($previousImage); $previousElement.addClass('disabled'); + $previousImage.addClass('disabled'); } + $previousImage.addClass('icon16'); // add first page $pageList.append(this._renderLink(1)); @@ -6795,10 +6797,12 @@ $.widget('ui.wcfPages', { $nextLink.append($nextImage); } else { - var $nextImage = $(''); + var $nextImage = $(''); $nextElement.append($nextImage); $nextElement.addClass('disabled'); + $nextImage.addClass('disabled'); } + $nextImage.addClass('icon16'); } else { // otherwise hide the paginator if not already hidden