Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit f9fec2a

Browse files
committed
1.8.0
1 parent e4100e0 commit f9fec2a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dist/mask.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-ui-mask
33
* https://github.com/angular-ui/ui-mask
4-
* Version: 1.7.2 - 2016-02-01T14:35:21.404Z
4+
* Version: 1.8.0 - 2016-02-19T02:50:22.549Z
55
* License: MIT
66
*/
77

@@ -188,7 +188,7 @@ angular.module('ui.mask', [])
188188
iAttrs.$observe('uiMaskPlaceholderChar', initPlaceholderChar);
189189
}
190190

191-
controller.$formatters.push(formatter);
191+
controller.$formatters.unshift(formatter);
192192
controller.$parsers.unshift(parser);
193193

194194
function uninitialize() {
@@ -534,7 +534,7 @@ angular.module('ui.mask', [])
534534
oldSelectionLength = getSelectionLength(this);
535535

536536
// These events don't require any action
537-
if (isSelection || (isSelected && (eventType === 'click' || eventType === 'keyup'))) {
537+
if (isSelection || (isSelected && (eventType === 'click' || eventType === 'keyup' || eventType === 'focus'))) {
538538
return;
539539
}
540540

dist/mask.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-mask",
3-
"version": "1.7.2",
3+
"version": "1.8.0",
44
"author": "https://github.com/angular-ui/ui-mask/graphs/contributors",
55
"license": "MIT",
66
"homepage": "https://github.com/angular-ui/ui-mask",

0 commit comments

Comments
 (0)