mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3301 from Polymer/dom-tree-first-vs-last
Maybe a typo in dom-tree-api?
This commit is contained in:
commit
74ba13ff91
@ -117,7 +117,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
|
||||
getLastElementChild: function(node) {
|
||||
return node.__dom && node.__dom.lastChild ?
|
||||
this._getLastElementChild(node) : node.firstElementChild;
|
||||
this._getLastElementChild(node) : node.lastElementChild;
|
||||
},
|
||||
|
||||
_getLastElementChild: function(node) {
|
||||
@ -285,4 +285,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
};
|
||||
|
||||
})();
|
||||
</script>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user