Browse Source
fix scope selector for "base-domainless" hostnames
pull/2/head
Raymond Hill
6 years ago
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with
2 additions and
2 deletions
-
src/js/scope-selector.js
|
|
@ -49,7 +49,7 @@ let fireChangeEvent = function() { |
|
|
|
}; |
|
|
|
|
|
|
|
let init = function(domain, hostname, scope, container) { |
|
|
|
if ( typeof domain !== 'string' || domain === '' ) { return; } |
|
|
|
if ( typeof domain !== 'string' ) { return; } |
|
|
|
|
|
|
|
currentScope = ''; |
|
|
|
|
|
|
@ -111,7 +111,7 @@ let init = function(domain, hostname, scope, container) { |
|
|
|
listening = true; |
|
|
|
} |
|
|
|
|
|
|
|
update(scope, container); |
|
|
|
update(scope || hostname, container); |
|
|
|
}; |
|
|
|
|
|
|
|
let getScope = function() { |
|
|
|