remove debug log and little fix
This commit is contained in:
parent
003dc96ce1
commit
f30f6db786
|
@ -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([])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue