Open StackOverflow links in a new tab
This commit is contained in:
@ -99,7 +99,7 @@ CodeOceanEditorFlowr = {
|
||||
|
||||
var body = resultTile.find('.panel-body');
|
||||
body.html(result.body);
|
||||
body.append('<a href="' + questionUrl + '" class="btn btn-primary btn-block">' +
|
||||
body.append('<a target="_blank" href="' + questionUrl + '" class="btn btn-primary btn-block">' +
|
||||
'<%= I18n.t('exercises.implement.flowr.go_to_question') %></a>');
|
||||
body.find('.btn').on('click', self.createEventHandler('editor_flowr_click_question', questionUrl));
|
||||
|
||||
|
Reference in New Issue
Block a user