Fixed creating records beneath _no.domain
This commit is contained in:
parent
fc9583ecd2
commit
96f3a90ab9
1 changed files with 3 additions and 1 deletions
|
|
@ -451,6 +451,8 @@ class Record {
|
|||
if (value.slice(0, 2) == '*.') {
|
||||
this.data['Name'] = value.slice(2)
|
||||
this.data['MatchSubdomain'] = 'true'
|
||||
} else if (value.slice(-11) == '._no.domain') {
|
||||
this.data['Name'] = value.slice(0, -11)
|
||||
} else {
|
||||
this.data['Name'] = value
|
||||
this.data['MatchSubdomain'] = 'false'
|
||||
|
|
@ -690,7 +692,7 @@ class Settings {
|
|||
constructor() {// {{{
|
||||
this.settings = new Map([
|
||||
['boxed_folders', false],
|
||||
['toplevel_open', true],
|
||||
['toplevel_open', false],
|
||||
])
|
||||
|
||||
// Read any configured settings from local storage, but keeping default value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue