From a554d67b39f299017887a29cac95ee05534fa722 Mon Sep 17 00:00:00 2001 From: Schlaefer Date: Sun, 1 Jul 2018 12:36:22 +0200 Subject: [PATCH] fix array empty test Have to check for array length here, because Boolean([]) is always `true`. --- sdk/pup.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/pup.dev.js b/sdk/pup.dev.js index a03ac319..a12bf350 100644 --- a/sdk/pup.dev.js +++ b/sdk/pup.dev.js @@ -379,7 +379,7 @@ for(var i=0; i 0) { areas = document.querySelectorAll(targetsSel.join(',')); } }