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
path: root/webdoc
diff options
context:
space:
mode:
authorJérémie Laval <jeremie.laval@gmail.com>2012-08-09 18:30:07 +0400
committerJérémie Laval <jeremie.laval@gmail.com>2012-08-09 18:30:29 +0400
commit8f4b7e7558414c594b7d5336e0f3c9da80629e4e (patch)
tree0acef64a4fc911e4d66977b67dcfdb2b15525a09 /webdoc
parent52824ced99a44b57a714545f13973005212d9eed (diff)
[webdoc] Also check id attribute existence when inserting native link
Diffstat (limited to 'webdoc')
-rw-r--r--webdoc/index.aspx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webdoc/index.aspx b/webdoc/index.aspx
index 15dd3267..728ad43d 100644
--- a/webdoc/index.aspx
+++ b/webdoc/index.aspx
@@ -108,7 +108,7 @@ update_tree = function () {
update_tree ();
add_native_browser_link = function () {
var contentDiv = $('#content_frame').contents ().find ('div[class=Content]').first ();
- if (contentDiv.length > 0) {
+ if (contentDiv.length > 0 && contentDiv.attr ('id')) {
var id = contentDiv.attr ('id').replace (':Summary', '');
var h2 = contentDiv.children ('h2').first ();
if (h2.prev ().attr ('class') != 'native-browser')