Skip to content

Commit bcd896f

Browse files
committed
Open external links in a new tab
1 parent e177459 commit bcd896f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • sphinx_scylladb_theme/static

sphinx_scylladb_theme/static/app.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ $(document).ready(function() {
77
}
88
}, 300));
99
});
10+
11+
// Opens external links in a new tab
12+
$(document).ready(function () {
13+
$('a.external').attr('target', '_blank');
14+
});
15+

0 commit comments

Comments
 (0)