From 6759c38567f17cb1d0d7e77dac464c8ea5be2e89 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 3 Oct 2017 03:25:54 +0300 Subject: [PATCH] fixed a really odd bug -- seems like I just sat on the keyboard... Signed-off-by: Alex A. Naanou --- ui (gen4)/imagegrid/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui (gen4)/imagegrid/data.js b/ui (gen4)/imagegrid/data.js index c2adfc0f..2d054600 100755 --- a/ui (gen4)/imagegrid/data.js +++ b/ui (gen4)/imagegrid/data.js @@ -2222,7 +2222,7 @@ var DataPrototype = { // .getImage(..) // NOTE: if no target is given this will assume the current image. split: function(target){ - target = argument.length > 1 ? [].slice.call(arguments) + target = arguments.length > 1 ? [].slice.call(arguments) : target == null || target instanceof Array ? target : [target]