Remove unneeded function

pull/749/head
lilia 10 years ago
parent 1bb480f6ea
commit 44a31f3ed9

@ -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…
Cancel
Save