+// Wrapper for jQuery
+(function ($) {
+
// So we can use jQuery BBQ with Drupal 6 and its 1.2.6 jQuery
if (!$.isArray) $.isArray = function(obj) {
return Object.prototype.toString.call(obj) === "[object Array]";
else {
// may need to run search again to limit targets
for (key in mkdru.state) {
- if (key.substring(0,5) === 'limit') {
+ if (key.substring(0,5) === 'limit' && mkdru.state[key]) {
mkdru.search();
break;
}
);
}
});
+})(jQuery);
\ No newline at end of file