Permalink
Browse files

[fix] opadoc: navigator links are openable in a new tab (keep href)

  • Loading branch information...
1 parent f3cd342 commit 46a14a46e28c5691475a55408636551b3bf62c64 @Aqua-Ye Aqua-Ye committed Oct 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 opadoc/opadoc.js
View
@@ -100,8 +100,8 @@ function init_tree(id) {
$(e).bind("click", function(e) {
switchFile(file, anchor);
$("#doc").attr("src", href);
+ return false;
});
- $(e).attr("href", "javascript:void(0)");
}
});

0 comments on commit 46a14a4

Please sign in to comment.