Skip to content

Commit 96c576b

Browse files
Mark MirchandaniBrian Thompson
authored andcommitted
Ensure that "render" still calls the callback even if it's overridden.
1 parent be8da4b commit 96c576b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/jquery-ias.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@
244244
}
245245
});
246246
});
247+
248+
promise.fail(function() {
249+
if (callback) {
250+
callback();
251+
}
252+
});
247253
};
248254

249255
/**

0 commit comments

Comments
 (0)