send feedback if isArray is not supported

pull/1/head
ansuz 2017-04-25 17:09:39 +02:00
parent f196b836db
commit 3309087277
1 changed files with 5 additions and 0 deletions

View File

@ -1189,6 +1189,11 @@ define([
if (typeof(window.Proxy) === 'undefined') {
feedback("NO_PROXIES");
}
if (typeof(Array.isArray) === 'function') {
feedback("NO_ISARRAY");
}
$(function() {
// Race condition : if document.body is undefined when alertify.js is loaded, Alertify
// won't work. We have to reset it now to make sure it uses a correct "body"