1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 19:02:20 -05:00

fix writer address field bugs

This commit is contained in:
Tankred Hase 2014-02-25 21:32:41 +01:00
parent b59ca4a773
commit b542ab898d

View File

@ -409,6 +409,8 @@ define(function(require) {
element.on('keydown', function(e) { element.on('keydown', function(e) {
var code = e.keyCode; var code = e.keyCode;
scope.$apply();
if (code === 32 || code === 188 || code === 186) { if (code === 32 || code === 188 || code === 186) {
// catch space, comma, semicolon // catch space, comma, semicolon
e.preventDefault(); e.preventDefault();