remove debug log and little fix

This commit is contained in:
encrypt 2020-03-26 17:36:42 +01:00
parent 003dc96ce1
commit f30f6db786

View file

@ -76,11 +76,10 @@ function ConnectDialog () {
self.removeSelectedTokensKey = function(data, event) { self.removeSelectedTokensKey = function(data, event) {
if (event.keyCode == 46) { if (event.keyCode == 46) {
sefl.removeSelectedTokens() self.removeSelectedTokens()
} }
} }
self.removeSelectedTokens = function() { self.removeSelectedTokens = function() {
console.log("gogog")
this.tokens.removeAll(this.selectedTokens()) this.tokens.removeAll(this.selectedTokens())
this.selectedTokens([]) this.selectedTokens([])
} }