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