-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
270 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/*! | ||
* AriaNg GUI | ||
* | ||
* Copyright (c) 2018 Xmader | ||
* Released under the MIT license | ||
* | ||
* Source Code: https://github.com/Xmader/aria-ng-gui | ||
* | ||
*/ | ||
|
||
// 更改工具栏上的帮助按钮的链接 | ||
const toolbars = $(".toolbar") | ||
toolbars[toolbars.length - 1].href = "https://github.com/Xmader/aria-ng-gui" | ||
|
||
const init = () => { | ||
// 判断是否是 已完成/已停止 页面 | ||
const hash = location.hash.split("/")[1]; | ||
if (hash == "stopped") { | ||
|
||
} | ||
else { | ||
|
||
|
||
} | ||
} | ||
|
||
// 检测浏览器是否支持onhashchange事件 | ||
if (("onhashchange" in window) && ((typeof document.documentMode === "undefined") || document.documentMode == 8)) { | ||
window.onhashchange = init; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters