Skip to content

Commit 9c3966a

Browse files
committed
Don't open a doc link twice
Closes #202
1 parent 3af9830 commit 9c3966a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

static/rustw.out.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7546,6 +7546,7 @@ var SourceView = exports.SourceView = function (_React$Component) {
75467546

75477547
// Make source links active.
75487548
var linkables = $("#div_src_view").find(".src_link");
7549+
linkables.off("click");
75497550
linkables.click(function (e) {
75507551
// The data for what to do on-click is encoded in the data-link attribute.
75517552
// We need to process it here.

static/rustw.out.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/srcView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export class SourceView extends React.Component {
106106

107107
// Make source links active.
108108
var linkables = $("#div_src_view").find(".src_link");
109+
linkables.off("click");
109110
linkables.click((e) => {
110111
// The data for what to do on-click is encoded in the data-link attribute.
111112
// We need to process it here.

0 commit comments

Comments
 (0)