Merge pull request #422 from alphagov/commas-in-placeholders

Don’t allow commas in placeholders
This commit is contained in:
Chris Hill-Scott
2016-04-12 10:06:08 +01:00
4 changed files with 30 additions and 6 deletions

View File

@@ -46,9 +46,10 @@
this.initialHeight = this.$textbox.height();
this.$backgroundMaskForeground.width(
this.$textbox.width()
);
this.$backgroundMaskForeground.css({
'width': this.$textbox.width(),
'border-width': this.$textbox.css('border-width')
});
this.$textbox
.trigger("input");