Browse Source

Set icon height in html instead of js

Fixup of d302e4fb92
adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
5529a7713c
  1. 2
      src/webui/www/private/index.html
  2. 1
      src/webui/www/public/scripts/client.js

2
src/webui/www/private/index.html

@ -141,7 +141,7 @@
<tr> <tr>
<td id="DHTNodes"></td> <td id="DHTNodes"></td>
<td class="statusBarSeparator"></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 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 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> <td class="statusBarSeparator"></td>

1
src/webui/www/public/scripts/client.js

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

Loading…
Cancel
Save