From ae98a7c6a757c8705d8a882b94208671dfb7a07a Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Fri, 15 Jan 2016 15:47:07 -0800 Subject: [PATCH] Fix typo in dom-tree-api --- src/lib/dom-tree-api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/dom-tree-api.html b/src/lib/dom-tree-api.html index be6df6db4d..fb18d4fc7e 100644 --- a/src/lib/dom-tree-api.html +++ b/src/lib/dom-tree-api.html @@ -117,7 +117,7 @@ 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 @@ }; })(); - \ No newline at end of file +