Visitar URL original
Open story in background tab when clicked with metaKey. by gaynetdinov · Pull Request #230 · stringer-rss/stringer · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Opera works with e.ctrlKey.
  • Loading branch information
Damir Gaynetdinov
Damir Gaynetdinov committed Jul 21, 2013
commit cc796f5468881578dcd57969f9f0d2a53fe3c3aa
2 changes: 1 addition & 1 deletion app/public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ var StoryView = Backbone.View.extend({
},

storyClicked: function(e) {
if (e.metaKey) {
if (e.metaKey || e.ctrlKey || e.which == 2) {
var background_tab = window.open(this.model.get("permalink"));
background_tab.blur();
window.focus();
Expand Down