From ecb54c30850a6ad01003e04324b9ea221f9c942c Mon Sep 17 00:00:00 2001 From: Fabii Date: Fri, 22 Jan 2016 19:14:00 +0100 Subject: [PATCH] Fix formating --- wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js | 4 ++-- wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js b/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js index 33c2ab5892..a9c68f9225 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js @@ -144,7 +144,7 @@ define(['Core', 'Dom/ChangeListener', 'Dom/Traverse', 'Language', 'List', 'Uploa elAttr(img, 'src', attachment.tinyURL); elAttr(img, 'alt', ''); icon.parentNode.replaceChild(icon, img); - + elData(listItem, 'height', attachment.height); elData(listItem, 'width', attachment.width); } diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js index 0c3a3b8dc7..b9e80cb12c 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js @@ -501,7 +501,7 @@ define( label.textContent = itemData.label; item.appendChild(label); itemList.appendChild(item); - + elData(item, 'type', typeName); item.addEventListener('click', _callbackItem); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js index 976ba33f76..2760a61327 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js @@ -48,7 +48,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment element.readOnly = true; var isDateTime = (elAttr(element, 'type') === 'datetime'); - + elData(element, 'is-date-time', isDateTime); // convert value @@ -652,7 +652,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment setDate: function(element, date) { element = this._getElement(element); var data = _data.get(element); - + elData(element, 'value', date.getTime()); element.value = DateUtil['formatDate' + (data.isDateTime ? 'Time' : '')](date); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js index 4e1d322fe2..c08478b9fb 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js @@ -61,7 +61,7 @@ define(['Dictionary', 'Dom/Traverse', 'Dom/Util', 'EventHandler'], function(Dict if (!name) { name = DomUtil.identify(container); } - + elData(container, 'name', name); this._containers.set(name, container); } -- 2.20.1