From 9ce732b1d56fd59d375a16d84e3e8905c735c451 Mon Sep 17 00:00:00 2001 From: echicken <> Date: Mon, 26 Jan 2015 20:02:17 +0000 Subject: [PATCH] Maybe fix Array.isArray problem on 3.15b. --- xtrn/chickendelivery/chickendelivery.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xtrn/chickendelivery/chickendelivery.js b/xtrn/chickendelivery/chickendelivery.js index 9b5a7307fa..863357f960 100644 --- a/xtrn/chickendelivery/chickendelivery.js +++ b/xtrn/chickendelivery/chickendelivery.js @@ -32,6 +32,12 @@ var attr, uid = base64_encode(user.alias + "@" + system.name, true), initLevel = 0; +if(typeof Array.isArray === 'undefined') { + Array.isArray = function(obj) { + return Object.prototype.toString.call(obj) === '[object Array]'; + } +} + Frame.prototype.drawBorder = function(color) { var theColor = color; if(Array.isArray(color)); -- GitLab