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

Commit 5e965c5

Browse files
kmcculloughPowerKiKi
authored andcommitted
Formatter is now unshifted
Fixes #90
1 parent adb3c42 commit 5e965c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ angular.module('ui.mask', [])
178178
iAttrs.$observe('uiMaskPlaceholderChar', initPlaceholderChar);
179179
}
180180

181-
controller.$formatters.push(formatter);
181+
controller.$formatters.unshift(formatter);
182182
controller.$parsers.unshift(parser);
183183

184184
function uninitialize() {

0 commit comments

Comments
 (0)