Merge pull request #150 from ozee31/fix-uncaught-typeerror-push-of-undefined
fix Uncaught TypeError: Cannot set property 'push' of undefined
This commit is contained in:
commit
b0b4df1a05
|
|
@ -333,9 +333,12 @@ var tarteaucitron = {
|
|||
for (index = 0; index < tarteaucitron.job.length; index += 1) {
|
||||
tarteaucitron.addService(tarteaucitron.job[index]);
|
||||
}
|
||||
} else {
|
||||
tarteaucitron.job = []
|
||||
}
|
||||
|
||||
tarteaucitron.isAjax = true;
|
||||
|
||||
tarteaucitron.job.push = function (id) {
|
||||
|
||||
// ie <9 hack
|
||||
|
|
|
|||
Loading…
Reference in New Issue