Skip to content

Commit

Permalink
Merge master to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmann committed Jan 8, 2014
2 parents 9f50673 + 75d959b commit adb3396
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions live-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
};

this.check = function () {
if (undefined === runCache) {
if (undefined === runCache || null === runCache) {
$.each(self.auto_updates, function () {
if (!runCache && $(this).length) {
var selector = "" + this;
if (!runCache && $(selector).length) {
runCache = true;
}
});
Expand Down

0 comments on commit adb3396

Please sign in to comment.