mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
Removed essentially useless "Visit website" iframe and changed it to a regular link. Improves fix qbittorrent/qBittorrent#1343
This commit is contained in:
parent
9143c440a5
commit
89fda12597
2 changed files with 1 additions and 13 deletions
|
@ -61,7 +61,7 @@
|
|||
<a class="returnFalse">_(&Help)</a>
|
||||
<ul>
|
||||
<li><a id="bugLink" target="_blank" href="http://bugs.qbittorrent.org/"><img class="MyMenuIcon" src="theme/tools-report-bug" width="16" height="16" onload="fixPNG(this)"/>_(Report a &bug)</a></li>
|
||||
<li><a id="siteLink"><img class="MyMenuIcon" src="images/skin/qbittorrent16.png" width="16" height="16" onload="fixPNG(this)"/>_(Visit &Website)</a></li>
|
||||
<li><a id="siteLink" target="_blank" href="http://www.qbittorrent.org/"><img class="MyMenuIcon" src="images/skin/qbittorrent16.png" width="16" height="16" onload="fixPNG(this)"/>_(Visit &Website)</a></li>
|
||||
<li><a id="docsLink" target="_blank" href="http://wiki.qbittorrent.org/"><img class="MyMenuIcon" src="theme/help-contents" width="16" height="16" onload="fixPNG(this)"/>_(&Documentation)</a></li>
|
||||
<li><a id="aboutLink"><img class="MyMenuIcon" src="theme/help-about" width="16" height="16" onload="fixPNG(this)"/>_(&About)</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -234,18 +234,6 @@ initializeWindows = function(){
|
|||
}
|
||||
}
|
||||
|
||||
addClickEvent('site', function(e){
|
||||
new Event(e).stop();
|
||||
new MochaUI.Window({
|
||||
id: 'sitePage',
|
||||
title: 'qBittorrent Website',
|
||||
loadMethod: 'iframe',
|
||||
contentURL: 'http://www.qbittorrent.org/',
|
||||
width: 650,
|
||||
height: 400
|
||||
});
|
||||
});
|
||||
|
||||
addClickEvent('about', function(e){
|
||||
new Event(e).stop();
|
||||
new MochaUI.Window({
|
||||
|
|
Loading…
Reference in a new issue