From adc072709f73e9b48358794a1f0416a8d198e1e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Mon, 6 Aug 2018 15:32:27 +0200 Subject: [PATCH] Add missing spaces See #2508 --- .../files/js/WoltLabSuite/Core/Ui/Reaction/CountButtons.js | 6 +++--- .../files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js | 2 +- wcfsetup/setup/db/install.sql | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/CountButtons.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/CountButtons.js index 3d026724df..b1be5b74a5 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/CountButtons.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/CountButtons.js @@ -130,7 +130,7 @@ define( // create element var createdElement = elCreate('li'); createdElement.className = 'reactCountButton'; - createdElement.innerHTML = REACTION_TYPES[key].renderedIcon +' '; + createdElement.innerHTML = REACTION_TYPES[key].renderedIcon + ' '; elData(createdElement, 'reaction-type-id', key); var countSpan = elCreate('span'); @@ -226,7 +226,7 @@ define( if (this._cache.get(this._currentObjectId).get(this._currentReactionTypeId).has(this._currentPageNo)) { var dialog = UiDialog.open(this, this._cache.get(this._currentObjectId).get(this._currentReactionTypeId).get(this._currentPageNo)); - UiDialog.setTitle('userReactionOverlay-'+ this._objectType, this._cache.get(this._currentObjectId).get(this._currentReactionTypeId).get('title')); + UiDialog.setTitle('userReactionOverlay-' + this._objectType, this._cache.get(this._currentObjectId).get(this._currentReactionTypeId).get('title')); if (this._cache.get(this._currentObjectId).get(this._currentReactionTypeId).get('pageCount') > 1) { var element = elBySel('.jsPagination', dialog.content); @@ -280,7 +280,7 @@ define( _dialogSetup: function() { return { - id: 'userReactionOverlay-'+ this._objectType, + id: 'userReactionOverlay-' + this._objectType, options: { title: "" }, diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js index d203f34731..62ab004788 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js @@ -183,7 +183,7 @@ define( this._containers.get(objectID).reactButton.classList.remove('active'); // update icon - elBySel('img', this._containers.get(objectID).reactButton).src = WCF_PATH+'images/reaction/reactionIcon.svg'; + elBySel('img', this._containers.get(objectID).reactButton).src = WCF_PATH + 'images/reaction/reactionIcon.svg'; elData(elBySel('img', this._containers.get(objectID).reactButton), 'reaction-type-id', 0); } diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 30dadd74cb..7d0fcebc8c 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1159,7 +1159,7 @@ CREATE TABLE wcf1_poll_option_vote ( ); DROP TABLE IF EXISTS wcf1_reaction_type; -CREATE TABLE wcf1_reaction_type( +CREATE TABLE wcf1_reaction_type ( reactionTypeID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255), type TINYINT(1), -- 2.20.1