Respect Auto Hide QR in the catalog
This commit is contained in:
parent
9a4199d829
commit
903ebad815
@ -5664,7 +5664,10 @@
|
|||||||
return {
|
return {
|
||||||
catalog: function() {
|
catalog: function() {
|
||||||
if (Conf["Persistent QR"]) {
|
if (Conf["Persistent QR"]) {
|
||||||
return QR.open();
|
QR.open();
|
||||||
|
}
|
||||||
|
if (Conf['Auto Hide QR']) {
|
||||||
|
return QR.hide();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
index: function() {
|
index: function() {
|
||||||
|
|||||||
@ -5699,7 +5699,10 @@
|
|||||||
return {
|
return {
|
||||||
catalog: function() {
|
catalog: function() {
|
||||||
if (Conf["Persistent QR"]) {
|
if (Conf["Persistent QR"]) {
|
||||||
return QR.open();
|
QR.open();
|
||||||
|
}
|
||||||
|
if (Conf['Auto Hide QR']) {
|
||||||
|
return QR.hide();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
index: function() {
|
index: function() {
|
||||||
|
|||||||
@ -72,7 +72,8 @@ QR =
|
|||||||
$.on d, 'dragstart dragend', QR.drag
|
$.on d, 'dragstart dragend', QR.drag
|
||||||
{
|
{
|
||||||
catalog: ->
|
catalog: ->
|
||||||
QR.open() if Conf["Persistent QR"]
|
QR.open() if Conf["Persistent QR"]
|
||||||
|
QR.hide() if Conf['Auto Hide QR']
|
||||||
index: ->
|
index: ->
|
||||||
$.on d, 'IndexRefresh', QR.generatePostableThreadsList
|
$.on d, 'IndexRefresh', QR.generatePostableThreadsList
|
||||||
thread: ->
|
thread: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user