Skip to content

Commit 47b9a3f

Browse files
committed
rename #header div to #topo3-header
1 parent 09fa236 commit 47b9a3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css/style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ a:hover, a:focus {
4747
background-color: #888;
4848
}
4949

50-
#header {
50+
#topo3-header {
5151
width: 100;
5252
position: absolute;
5353
top: 0;

js/topo3.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function insertHeader() {
159159
controls += '<button id="toggle-icvpn" class="btn" onclick="toggleIcvpn()">' + btnIcvpnLabel + '</button>';
160160
controls += '<input id="search-node" name="search-node" placeholder="Search (IP or hostname)" />';
161161
controls += '</div>';
162-
$('#' + targetDiv).before('<div id="header">' + controls + '</div>');
162+
$('#' + targetDiv).before('<div id="topo3-header">' + controls + '</div>');
163163
}
164164
}
165165

@@ -189,7 +189,7 @@ function updateStats() {
189189
if ($('#topo3-stats').length > 0) {
190190
$("#topo3-stats").html(stats);
191191
} else {
192-
$("#header").prepend('<div id="topo3-stats">' + stats + '</div>');
192+
$("#topo3-header").prepend('<div id="topo3-stats">' + stats + '</div>');
193193
}
194194
}
195195

0 commit comments

Comments
 (0)