Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from Schlaefer/master
Browse files Browse the repository at this point in the history
fix array empty test (pup)
  • Loading branch information
rodber authored Jul 1, 2018
2 parents d483866 + a554d67 commit 67f2c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/pup.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
for(var i=0; i<targets.length; i++) {
targetsSel.push(targets[i].dataset.target);
}
if(targetsSel) {
if(targetsSel.length > 0) {
areas = document.querySelectorAll(targetsSel.join(','));
}
}
Expand Down

0 comments on commit 67f2c92

Please sign in to comment.