mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 01:26:22 +00:00
6 lines
203 B
JavaScript
6 lines
203 B
JavaScript
|
$(document).on('turbolinks:load', function() {
|
||
|
$("a[href^='http://']").attr('target', '_blank');
|
||
|
$("a[href^='https://']").attr('target', '_blank');
|
||
|
$("a[href^='//']").attr('target', '_blank');
|
||
|
});
|