Set icon height in html instead of js

Fixup of d302e4fb92
This commit is contained in:
Chocobo1 2017-05-19 00:06:10 +08:00 committed by sledgehammer999
parent f1a7e8921a
commit 6b91510d71
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
2 changed files with 1 additions and 2 deletions

View File

@ -141,7 +141,7 @@
<tr>
<td id="DHTNodes"></td>
<td class="statusBarSeparator"></td>
<td><img id="connectionStatus" alt="Connection Status" src="images/skin/firewalled.png" /></td>
<td><img id="connectionStatus" alt="Connection Status" src="images/skin/firewalled.png" style="height: 1.5em;"/></td>
<td class="statusBarSeparator"></td>
<td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow_off.png" /></td>
<td class="statusBarSeparator"></td>

View File

@ -390,7 +390,6 @@ window.addEvent('load', function () {
$('connectionStatus').src = 'images/skin/firewalled.png';
else
$('connectionStatus').src = 'images/skin/disconnected.png';
$('connectionStatus').style = 'height: 1.5em';
if (queueing_enabled != serverState.queueing) {
queueing_enabled = serverState.queueing;