Deleted some stuff that does not work correctly in old browser (IE 8)
Better check for FF Cleand up inside the code
This commit is contained in:
@@ -49,10 +49,8 @@ if(typeof beef === 'undefined' && typeof window.beef === 'undefined') {
|
||||
*/
|
||||
execute: function(fn) {
|
||||
if ( typeof beef.websocket == "undefined"){
|
||||
console.log("--- NO WEBSOCKETS ---");
|
||||
this.commands.push(fn);
|
||||
this.commands.push(fn);
|
||||
}else{
|
||||
console.log("--- WEBSOCKETS ENABLED ---");
|
||||
fn();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user