Remove window.config in favor of window.getXXX() accessors
This commit is contained in:
parent
d5ead799ce
commit
1c23c6a9d7
10 changed files with 45 additions and 49 deletions
|
@ -142,7 +142,7 @@
|
|||
setDeviceNameDefault: function() {
|
||||
var deviceName = textsecure.storage.user.getDeviceName();
|
||||
|
||||
this.$(DEVICE_NAME_SELECTOR).val(deviceName || window.config.hostname);
|
||||
this.$(DEVICE_NAME_SELECTOR).val(deviceName || window.getHostName());
|
||||
this.$(DEVICE_NAME_SELECTOR).focus();
|
||||
},
|
||||
finishLinking: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue