Fix non-TLS warning
This commit is contained in:
parent
e5b4c33ac5
commit
079f84818f
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
// except for local instances (testing or electron)
|
||||
$scope.show_tls_warning = (window.location.protocol !== "https:") &&
|
||||
(["localhost", "127.0.0.1", "::1"].indexOf(window.location.hostname) === -1) &&
|
||||
!window.is_electron && (cordova === null);
|
||||
!window.is_electron && !window.cordova;
|
||||
|
||||
if (window.is_electron) {
|
||||
// Use packaged emojione sprite in the electron app
|
||||
|
|
Loading…
Reference in a new issue