Fix typo in WoltLab/WCF/Date/Picker
authorFabii547 <Fabii547@users.noreply.github.com>
Sat, 30 Jan 2016 16:38:58 +0000 (17:38 +0100)
committerFabii <fabiangossner@gmail.com>
Thu, 3 Mar 2016 18:45:49 +0000 (19:45 +0100)
wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js

index 27e93c02750fe8e70776b5052a20c74ecd0cc12a..1ea7f363b5576ee841a33d73547bd5652c1bc11a 100644 (file)
@@ -693,7 +693,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment
                        
                        element.removeAttribute('data-value');
                        element.removeEventListener('click', _callbackOpen);
-                       elRemove(data);
+                       elRemove(data.shadow);
                        
                        element.classList.remove('inputDatePicker');
                        element.readOnly = false;