From ebbf5629dec23d66d95a7491c4332db4860faed3 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 19 Sep 2011 18:32:20 +0200 Subject: [PATCH] 2 small things forgotten. Coding style: Attribute "id" should always come first! (Except in a form element, then the type should be first) Attribute "class" should always be found on the last place in a tag! --- wcfsetup/install/files/acp/style/testing.css | 2 +- wcfsetup/install/files/js/WCF.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index baf9be1fe0..0c67366697 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -1625,7 +1625,7 @@ thead th.active:hover a { thead th a img { /* sort-icon orientation does not work */ text-align: right; - /* negative margins to prevent table-cells from expanding when ths sort-icon shows up */ + /* negative margins to prevent table-cells from expanding when the sort-icon shows up */ margin-top: -5px !important; margin-bottom: -5px !important; } diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 43b8a5d83a..1d724fc67e 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -698,7 +698,7 @@ WCF.Clipboard = { // create container var $container = $containers[$typeName]; var $editor = data.items[$typeName]; - var $label = $('' + $editor.label + '').appendTo($container).click(function(event) { + var $label = $('

' + $editor.label + '

').appendTo($container).click(function(event) { var $span = $(event.target); $span.next().toggle(); }); @@ -855,7 +855,7 @@ WCF.Action.Proxy.prototype = { this.options.init(this); } - $('').appendTo($('body')); + $('').appendTo($('body')); this.loading = $('#actionProxyLoading'); this.loading.wcfDropIn(); }, @@ -2028,7 +2028,7 @@ WCF.Effect.BalloonTooltip = function() { this.init(); }; WCF.Effect.BalloonTooltip.prototype = { init: function() { // create empty div - this.tooltip = $('
').appendTo(document.body).hide(); + this.tooltip = $('
').appendTo(document.body).hide(); // init elements $('.balloonTooltip').each($.proxy(this._initTooltip, this)); @@ -2325,7 +2325,7 @@ $.widget('ui.wcfPages', { }, /** - * Renders th pages widget. + * Renders the pages widget. */ _render: function() { // only render if we have more than 1 page -- 2.20.1