}
}
});
- console.log(window)
+
+ chrome.windows.onRemoved.addListener(function(windowId){
+ if(windowId === window.id) {
+ sendResponse({method:'transfer',action:'reject'})
+ }
+ });
}
)
}
}
}
});
+ chrome.windows.onRemoved.addListener(function(windowId){
+ if(windowId === window.id) {
+ sendResponse({method:'advanced-transfer',action:'reject'})
+ }
+ });
}
)
}
this.transaction.to = "";
this.transaction.amount = "";
if(this.$route.query.type == 'popup'){
- LocalStream.send({method:'transfer',action:'reject'});
window.close();
}
},