fixing Polymer elements

This commit is contained in:
DadaMonad
2015-01-16 23:17:19 +00:00
parent bab4bcc94b
commit 02d0ace241
12 changed files with 27 additions and 25 deletions

View File

@@ -320,7 +320,7 @@ module.exports = (HB)->
else
char = event.key
else
char = String.fromCharCode event.keyCode
char = window.String.fromCharCode event.keyCode
if char.length > 0
pos = Math.min textfield.selectionStart, textfield.selectionEnd
diff = Math.abs(textfield.selectionEnd - textfield.selectionStart)