Fix #441
This commit is contained in:
parent
5201395246
commit
9474942271
@ -12557,10 +12557,17 @@
|
|||||||
Style.padding();
|
Style.padding();
|
||||||
Style.iconPositions();
|
Style.iconPositions();
|
||||||
if (exLink = $("#navtopright .exlinksOptionsLink", d.body)) {
|
if (exLink = $("#navtopright .exlinksOptionsLink", d.body)) {
|
||||||
return $.on(exLink, "click", function() {
|
$.on(exLink, "click", function() {
|
||||||
return setTimeout(Rice.nodes, 100);
|
return setTimeout(Rice.nodes, 100);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (g.VIEW === 'catalog') {
|
||||||
|
if (!$.id('threads').children.length) {
|
||||||
|
return setTimeout((function() {
|
||||||
|
return $.globalEval('fourcat.init(); fourcat.loadCatalog(catalog);');
|
||||||
|
}), 1000);
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
observe: function() {
|
observe: function() {
|
||||||
var onMutationObserver;
|
var onMutationObserver;
|
||||||
|
|||||||
@ -12551,10 +12551,17 @@
|
|||||||
Style.padding();
|
Style.padding();
|
||||||
Style.iconPositions();
|
Style.iconPositions();
|
||||||
if (exLink = $("#navtopright .exlinksOptionsLink", d.body)) {
|
if (exLink = $("#navtopright .exlinksOptionsLink", d.body)) {
|
||||||
return $.on(exLink, "click", function() {
|
$.on(exLink, "click", function() {
|
||||||
return setTimeout(Rice.nodes, 100);
|
return setTimeout(Rice.nodes, 100);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (g.VIEW === 'catalog') {
|
||||||
|
if (!$.id('threads').children.length) {
|
||||||
|
return setTimeout((function() {
|
||||||
|
return $.globalEval('fourcat.init(); fourcat.loadCatalog(catalog);');
|
||||||
|
}), 1000);
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
observe: function() {
|
observe: function() {
|
||||||
var onMutationObserver;
|
var onMutationObserver;
|
||||||
|
|||||||
@ -67,6 +67,11 @@ Style =
|
|||||||
if exLink = $ "#navtopright .exlinksOptionsLink", d.body
|
if exLink = $ "#navtopright .exlinksOptionsLink", d.body
|
||||||
$.on exLink, "click", ->
|
$.on exLink, "click", ->
|
||||||
setTimeout Rice.nodes, 100
|
setTimeout Rice.nodes, 100
|
||||||
|
|
||||||
|
if g.VIEW is 'catalog'
|
||||||
|
unless $.id('threads').children.length
|
||||||
|
# Race conditions
|
||||||
|
setTimeout (-> $.globalEval 'fourcat.init(); fourcat.loadCatalog(catalog);'), 1000
|
||||||
|
|
||||||
observe: ->
|
observe: ->
|
||||||
if window.MutationObserver
|
if window.MutationObserver
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user