Skip to content

Commit

Permalink
usermenu: Support ctrl click
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Aug 11, 2017
1 parent 222cb49 commit 6406d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/common/yona.Usermenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ $(function() {

$(".user-ul > .user-li").on("click", function (e) {
var location = $(this).data('location');
if(e.metaKey) {
if(e.metaKey || e.ctrlKey) {
window.open(location, '_blank');
} else {
window.location = location;
Expand Down

0 comments on commit 6406d3d

Please sign in to comment.