Remove unneeded function

This commit is contained in:
lilia 2015-03-05 15:36:48 -08:00
parent 1bb480f6ea
commit 44a31f3ed9
2 changed files with 1 additions and 4 deletions

View File

@ -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');

View File

@ -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();