Browse Source

Fixed Alt + Home

master
Igor Zhukov 10 years ago
parent
commit
1a508faa84
  1. 2
      app/js/directives.js

2
app/js/directives.js

@ -269,7 +269,7 @@ angular.module('myApp.directives', ['myApp.filters']) @@ -269,7 +269,7 @@ angular.module('myApp.directives', ['myApp.filters'])
if (e.keyCode == 36 && !e.shiftKey && !e.ctrlKey && e.altKey) { // Alt + Home
var currentSelected = $(scrollableWrap).find('.im_dialog_wrap a');
if (currentSelected.length) {
currentSelected.trigger('mousedown');
$(currentSelected[0]).trigger('mousedown');
scrollableWrap.scrollTop = 0;
$(dialogsWrap).nanoScroller({flash: true});
}

Loading…
Cancel
Save