Skip to content

Commit

Permalink
Merge pull request #429 from atarisafari/issue/377-open-links-in-new-tab
Browse files Browse the repository at this point in the history
Issue/377 open links in new tab fixes #377
  • Loading branch information
bagofarms authored Oct 2, 2019
2 parents db9e337 + df3cc13 commit 0ac888b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/assets/js/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,14 @@ $doc.on('resize', function(){
resizeFrame();
});

// Open error-preview links in new tab
$doc.ready(function(){
$('body').on('click', '.error-preview > a', function(){
window.open($(this).attr('href'));
return false;
});
});

// END update UFIXIT Preview on load
$doc.ready(function() {
resizeFrame();
Expand Down

0 comments on commit 0ac888b

Please sign in to comment.