Respect Auto Hide QR in the catalog

This commit is contained in:
Kabir Sala 2014-02-25 13:25:59 +01:00
parent 9a4199d829
commit 903ebad815
3 changed files with 10 additions and 3 deletions

View File

@ -5664,7 +5664,10 @@
return {
catalog: function() {
if (Conf["Persistent QR"]) {
return QR.open();
QR.open();
}
if (Conf['Auto Hide QR']) {
return QR.hide();
}
},
index: function() {

View File

@ -5699,7 +5699,10 @@
return {
catalog: function() {
if (Conf["Persistent QR"]) {
return QR.open();
QR.open();
}
if (Conf['Auto Hide QR']) {
return QR.hide();
}
},
index: function() {

View File

@ -72,7 +72,8 @@ QR =
$.on d, 'dragstart dragend', QR.drag
{
catalog: ->
QR.open() if Conf["Persistent QR"]
QR.open() if Conf["Persistent QR"]
QR.hide() if Conf['Auto Hide QR']
index: ->
$.on d, 'IndexRefresh', QR.generatePostableThreadsList
thread: ->