mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-06 16:46:48 +01:00
doStatsJS plugin runs after open and update events
This commit is contained in:
@@ -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) {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user