Skip to content

Commit

Permalink
remove querying childs by selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Billberg committed Jan 16, 2017
1 parent 214b9d0 commit 5b3de9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* Finds the previously selected elements and the currently selected elements.
*/
_findElements(newSelected, oldSelected) {
const childs = Polymer.dom(this).querySelectorAll(`[selected]`);
const childs = Polymer.dom(this).children;
let currentElement = null;
let previousElement = null;
for (let i = 0; i < childs.length; i++) {
Expand Down

0 comments on commit 5b3de9d

Please sign in to comment.