doStatsJS plugin runs after open and update events

This commit is contained in:
Matt Pass
2014-10-28 09:20:59 +00:00
parent 9b7d987d0b
commit b235b40715

View File

@@ -478,6 +478,8 @@ var ICEcoder = {
}
// Do the pesticide plugin if it exists
try {top.ICEcoder.doPesticide();} catch(err) {};
// Do the stats.js plugin if it exists
try {top.ICEcoder.doStatsJS('update');} catch(err) {};
},
// Clean up our loaded code
@@ -2324,6 +2326,8 @@ var ICEcoder = {
top.ICEcoder.previewWindow.onload = function() {
// Do the pesticide plugin if it exists
try {top.ICEcoder.doPesticide();} catch(err) {};
// Do the stats.js plugin if it exists
try {top.ICEcoder.doStatsJS('open');} catch(err) {};
}
}
}