Remove unneeded function
This commit is contained in:
parent
1bb480f6ea
commit
44a31f3ed9
2 changed files with 1 additions and 4 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
$(function() {
|
||||
var phoneView = new Whisper.PhoneInputView({el: $('#phone-number-input')});
|
||||
phoneView.render();
|
||||
if (textsecure.registration.isDone()) {
|
||||
$('#complete-number').text(textsecure.utils.unencodeNumber(textsecure.storage.getUnencrypted("number_id"))[0]);//TODO: no
|
||||
$('#setup-complete').show().addClass('in');
|
||||
|
|
|
@ -21,10 +21,6 @@ var Whisper = Whisper || {};
|
|||
tagName: 'div',
|
||||
className: 'phone-input',
|
||||
template: $('#phone-number').html(),
|
||||
initialize: function() {
|
||||
this.render();
|
||||
},
|
||||
|
||||
render: function() {
|
||||
this.$el.html($(Mustache.render(this.template)));
|
||||
this.$el.find('input.number').intlTelInput();
|
||||
|
|
Loading…
Reference in a new issue