Move removing init message back to root component

This commit is contained in:
Paulus Schoutsen 2015-12-05 00:13:54 -08:00
parent 04a7ce241c
commit bd9d9e8815
2 changed files with 6 additions and 6 deletions

View File

@ -77,4 +77,10 @@ export default new Polymer({
this.loadIcons();
},
attached() {
// remove the HTML init message
const initMsg = document.getElementById('init');
initMsg.parentElement.removeChild(initMsg);
},
});

View File

@ -84,10 +84,4 @@ export default new Polymer({
validateAuth(this.$.passwordInput.value, this.$.rememberLogin.checked);
},
attached() {
// remove the HTML init message
const initMsg = document.getElementById('init');
initMsg.parentElement.removeChild(initMsg);
},
});