Add missing spaces
authorJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Aug 2018 13:32:27 +0000 (15:32 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Aug 2018 13:32:27 +0000 (15:32 +0200)
See #2508

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/CountButtons.js
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js
wcfsetup/setup/db/install.sql

index 3d026724df6551c37185d86cc9b6b83a192c080f..b1be5b74a5941077ebf3d366613b2484d4073db4 100644 (file)
@@ -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: ""
                                        },
index d203f34731793160bc5f473a3ec281df6e2b3b63..62ab004788e2c1c7dfb655b5a41162be06daa452 100644 (file)
@@ -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);
                                }
                                
index 30dadd74cb3e969edc409fa5a7281b9fed7da5c4..7d0fcebc8c01889fea3cb0888aaa6dd030d3311a 100644 (file)
@@ -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),