mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
(trunk web) #3630 "add a link to the Transmission homepage from the web client" -- added.
This commit is contained in:
parent
3f8748edfc
commit
35ac787457
2 changed files with 9 additions and 0 deletions
|
@ -466,6 +466,9 @@
|
|||
</li>
|
||||
<li class="separator"></li>
|
||||
<li id="compact_view">Compact View</li>
|
||||
<li class="separator"></li>
|
||||
<li id="homepage">Transmission Home</li>
|
||||
<li id="tipjar">Transmission Tip Jar</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1118,6 +1118,12 @@ Transmission.prototype =
|
|||
$element.deselectMenuItem();
|
||||
this.refreshDisplay( );
|
||||
}
|
||||
else if ($element[0].id == 'homepage') {
|
||||
window.open('http://www.transmissionbt.com/');
|
||||
}
|
||||
else if ($element[0].id == 'tipjar') {
|
||||
window.open('http://www.transmissionbt.com/donate.php');
|
||||
}
|
||||
break;
|
||||
|
||||
// Limit the download rate
|
||||
|
|
Loading…
Reference in a new issue