+1
-1
index.html
+1
-1
index.html
+4
private_search_page.js
+4
private_search_page.js
···
12
constructor() {
13
this.pageElement = $id('private_search_page');
14
15
this.rangeInput = $(this.pageElement.querySelector('input[type="range"]'), HTMLInputElement);
16
this.submitButton = $(this.pageElement.querySelector('input[type="submit"]'), HTMLInputElement);
17
this.progressBar = $(this.pageElement.querySelector('input[type="submit"] + progress'), HTMLProgressElement);
···
94
this.pageElement.style.display = 'block';
95
96
if (this.mode == 'likes') {
97
this.timelineSearch.style.display = 'none';
98
this.searchCollections.style.display = 'block';
99
this.searchLine.style.display = 'block';
100
this.lycanImportSection.style.display = 'none';
101
this.checkLycanImportStatus();
102
} else {
103
this.timelineSearch.style.display = 'block';
104
this.searchCollections.style.display = 'none';
105
this.lycanImportSection.style.display = 'none';
···
12
constructor() {
13
this.pageElement = $id('private_search_page');
14
15
+
this.header = $(this.pageElement.querySelector('h2'));
16
+
17
this.rangeInput = $(this.pageElement.querySelector('input[type="range"]'), HTMLInputElement);
18
this.submitButton = $(this.pageElement.querySelector('input[type="submit"]'), HTMLInputElement);
19
this.progressBar = $(this.pageElement.querySelector('input[type="submit"] + progress'), HTMLProgressElement);
···
96
this.pageElement.style.display = 'block';
97
98
if (this.mode == 'likes') {
99
+
this.header.innerText = 'Archive search';
100
this.timelineSearch.style.display = 'none';
101
this.searchCollections.style.display = 'block';
102
this.searchLine.style.display = 'block';
103
this.lycanImportSection.style.display = 'none';
104
this.checkLycanImportStatus();
105
} else {
106
+
this.header.innerText = 'Timeline search';
107
this.timelineSearch.style.display = 'block';
108
this.searchCollections.style.display = 'none';
109
this.lycanImportSection.style.display = 'none';