Skip to content
Snippets Groups Projects
Commit 9ce732b1 authored by echicken's avatar echicken
Browse files

Maybe fix Array.isArray problem on 3.15b.

parent 09428f61
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment