From: Fabii Date: Fri, 22 Jan 2016 18:14:00 +0000 (+0100) Subject: Fix formating X-Git-Tag: 3.0.0_Beta_1~2030^2~122^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ecb54c30850a6ad01003e04324b9ea221f9c942c;p=GitHub%2FWoltLab%2FWCF.git Fix formating --- 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); }