Fix rendering of new rail
This commit is contained in:
+3
-3
@@ -60,7 +60,7 @@
|
||||
menu.appendChild(label);
|
||||
|
||||
var link = document.createElement('a');
|
||||
link.className = 'btn dropdown-item';
|
||||
link.className = 'btn btn-block';
|
||||
link.href = COMPANION_BASE + '/config';
|
||||
link.target = '_blank';
|
||||
link.rel = 'noopener';
|
||||
@@ -78,13 +78,13 @@
|
||||
menu.appendChild(msg);
|
||||
|
||||
var win = document.createElement('a');
|
||||
win.className = 'btn dropdown-item';
|
||||
win.className = 'btn btn-block';
|
||||
win.href = '/companion/download/windows';
|
||||
win.textContent = 'Download — Windows';
|
||||
menu.appendChild(win);
|
||||
|
||||
var lin = document.createElement('a');
|
||||
lin.className = 'btn dropdown-item';
|
||||
lin.className = 'btn btn-block';
|
||||
lin.href = '/companion/download/linux';
|
||||
lin.textContent = 'Download — Linux';
|
||||
menu.appendChild(lin);
|
||||
|
||||
Reference in New Issue
Block a user