This commit is contained in:
Zixaphir 2013-08-25 10:50:55 -07:00
parent 5201395246
commit 9474942271
3 changed files with 21 additions and 2 deletions

View File

@ -12557,10 +12557,17 @@
Style.padding();
Style.iconPositions();
if (exLink = $("#navtopright .exlinksOptionsLink", d.body)) {
return $.on(exLink, "click", function() {
$.on(exLink, "click", function() {
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() {
var onMutationObserver;

View File

@ -12551,10 +12551,17 @@
Style.padding();
Style.iconPositions();
if (exLink = $("#navtopright .exlinksOptionsLink", d.body)) {
return $.on(exLink, "click", function() {
$.on(exLink, "click", function() {
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() {
var onMutationObserver;

View File

@ -67,6 +67,11 @@ Style =
if exLink = $ "#navtopright .exlinksOptionsLink", d.body
$.on exLink, "click", ->
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: ->
if window.MutationObserver