Skip to content

Commit 407645a

Browse files
committed
fix analytic too slow
1 parent dbefad5 commit 407645a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎index.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ <h5 class="label-warp"><span class="label label-{type}" data-toggle="tooltip" d
234234
}
235235

236236
function renderAnalytics(){
237-
els.body.append('<iframe src="http://www.mihtool.com/analytics.html?codelf" style="display: none;width: 0;height: 0;border: 0;"></iframe>');
237+
setTimeout(function(){
238+
els.body.append('<iframe src="http://www.mihtool.com/analytics.html?codelf" style="display: none;width: 0;height: 0;border: 0;"></iframe>');
239+
},3000);
238240
}
239241

240242
function getRandomLabelType(){

0 commit comments

Comments
 (0)