Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'webdoc/plugins/sidebar-plugin/make-tree.js')
-rw-r--r--webdoc/plugins/sidebar-plugin/make-tree.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/webdoc/plugins/sidebar-plugin/make-tree.js b/webdoc/plugins/sidebar-plugin/make-tree.js
index 19de56ba..27b42db8 100644
--- a/webdoc/plugins/sidebar-plugin/make-tree.js
+++ b/webdoc/plugins/sidebar-plugin/make-tree.js
@@ -4,9 +4,10 @@ $(function() {
change_page = function (pagename) {
content_frame.attr ('src', 'monodoc.ashx?link=' + pagename);
- page_link.attr ('href', '?link=' + pagename);
- if (window.history && window.history.pushState)
- window.history.pushState (null, '', '/?link=' + pagename);
+ page_link.attr ('href', '?link=' + pagename);
+ if (window.history && window.history.pushState) {
+ window.history.pushState (null, '', '/?link=' + pagename);
+ }
};
update_tree = function () {
@@ -24,7 +25,7 @@ $(function() {
var id = contentDiv.attr ('id').replace (':Summary', '');
var h2 = contentDiv.children ('h2').first ();
if (h2.prev ().attr ('class') != 'native-browser')
- h2.before ('<p><a class="native-browser" href="mdoc://' + encodeURIComponent (id) + '"><span class="native-icon"><img src="images/native-browser-icon.png" /></span>Open in Native Browser</a></p>');
+ h2.before ('<p><a class="native-browser" href="mdoc://' + encodeURIComponent (id) + '"><span class="native-icon"><img src="/views/images/native-browser-icon.png" /></span>Open in Native Browser</a></p>');
}
};
add_native_browser_link ();