Commit 5d6adad47b29c00d3e412059eb9e9e1856a0b676
1 parent
c76a9f85
card and controllet updates
Showing
2 changed files
with
4 additions
and
1 deletions
controllets/paper-card-controllet/paper-card-controllet.html
datalets/base-datalet/base-datalet.html
... | ... | @@ -90,7 +90,9 @@ Example : |
90 | 90 | * |
91 | 91 | */ |
92 | 92 | ready: function(){ |
93 | - this.$.domain.textContent = this.dataUrl.split("/")[0] + "//" + this.dataUrl.split("/")[2]; | |
93 | + if(this.dataUrl != undefined){ | |
94 | + this.$.domain.textContent = this.dataUrl.split("/")[0] + "//" + this.dataUrl.split("/")[2]; | |
95 | + } | |
94 | 96 | }, |
95 | 97 | /** |
96 | 98 | * Set the domain url to show in the footer |
... | ... |