Fixed ctrl+a also selects the "about" tab #230

This commit is contained in:
Tobias Reich 2014-09-25 20:18:43 +02:00
parent af7f776cbc
commit bda95c49f3
3 changed files with 9 additions and 5 deletions

View File

@ -99,6 +99,7 @@ $(document).ready(function(){
}) })
.bind(['i', 'ctrl+i'], function() { .bind(['i', 'ctrl+i'], function() {
if (visible.infobox()) view.infobox.hide(); if (visible.infobox()) view.infobox.hide();
else if (visible.multiselect()) return false;
else if (visible.infoboxbutton()) view.infobox.show(); else if (visible.infoboxbutton()) view.infobox.show();
}) })
.bind(['command+backspace', 'ctrl+backspace'], function() { .bind(['command+backspace', 'ctrl+backspace'], function() {

View File

@ -193,6 +193,9 @@ multiselect = {
close: function() { close: function() {
// Hide selection from the select all shortcut
window.getSelection().removeAllRanges();
multiselect.stopResize(); multiselect.stopResize();
multiselect.position.top = null; multiselect.position.top = null;

File diff suppressed because one or more lines are too long