181
NIWA Discussion / Re: Recent changes namespace toggler
« on: November 14, 2010, 09:11:39 AM »
First, I hope you're not planning on using that version; here's the one without Wikia-specific parts. Second, just checking, you know that depends on JQuery, right? It's just that it's not mentioned on any information page for it that I can find. Third, wow, there's some terrible code in there.
The answer is no, but it would just be a few lines to make it compatible (I'm thinking just
The answer is no, but it would just be a few lines to make it compatible (I'm thinking just
Code: [Select]
if (window.$ !== undefined) $.bind('ajaxComplete', function () {
$('#' + RCNSTControlsId).remove();
RCNST.init();
});
). What you'd get is any new changes loaded through JavaScript requests wouldn't be affected by the checkboxes/buttons. Edits now not fitting in the set number of changes you allow would disappear, which shouldn't cause an exception or anything, I don't think, but it would keep references to those changes so garbage collection wouldn't get at them - in other words, a memory leak.