|
|
@ -21,10 +21,6 @@ var Whisper = Whisper || {};
|
|
|
|
tagName: 'div',
|
|
|
|
tagName: 'div',
|
|
|
|
className: 'phone-input',
|
|
|
|
className: 'phone-input',
|
|
|
|
template: $('#phone-number').html(),
|
|
|
|
template: $('#phone-number').html(),
|
|
|
|
initialize: function() {
|
|
|
|
|
|
|
|
this.render();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render: function() {
|
|
|
|
render: function() {
|
|
|
|
this.$el.html($(Mustache.render(this.template)));
|
|
|
|
this.$el.html($(Mustache.render(this.template)));
|
|
|
|
this.$el.find('input.number').intlTelInput();
|
|
|
|
this.$el.find('input.number').intlTelInput();
|
|
|
|