]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
ui/Utils: do not create non-standard console.dir fallback
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Mar 2018 12:19:43 +0000 (14:19 +0200)
committerDominik Csapak <d.csapak@proxmox.com>
Wed, 28 Mar 2018 11:19:41 +0000 (13:19 +0200)
resolves a future jslint type confusion and as it's nor standarized
nor used by our code we can just drop it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Utils.js

index 6345b2b487cd780eb8dab957885b04ddf8f6ec1a..58cc9fb3d15c508ac3614c5008fcee583f99b300 100644 (file)
@@ -10,7 +10,6 @@ Ext.enableAriaPanels = false;
 // avoid errors when running without development tools
 if (!Ext.isDefined(Ext.global.console)) {
     var console = {
-       dir: function() {},
        log: function() {}
     };
 }