diff --git a/src/g-component.html b/src/g-component.html index 169b103097..191c255b2b 100644 --- a/src/g-component.html +++ b/src/g-component.html @@ -432,7 +432,7 @@ // is in inNodes, if any var n = inTarget; while (n && n != this) { - var i = inNodes.indexOf(n); + var i = Array.prototype.indexOf.call(inNodes, n); if (i >= 0) { return i; } diff --git a/src/g-menuitem.html b/src/g-menuitem.html index 770d3ec003..5a06b40b91 100644 --- a/src/g-menuitem.html +++ b/src/g-menuitem.html @@ -5,13 +5,14 @@ * license that can be found in the LICENSE file. */ --> - + @@ -20,6 +21,9 @@ prototype: { srcChanged: function() { this.$.icon.src = this.src; + }, + labelChanged: function() { + this.$.label.textContent = this.label; } } }); diff --git a/src/g-selector.html b/src/g-selector.html index 8d411aeb7c..d4ae9e7612 100644 --- a/src/g-selector.html +++ b/src/g-selector.html @@ -10,7 +10,7 @@