diff --git a/post_example.html b/post_example.html
index 0020351..708bfbc 100644
--- a/post_example.html
+++ b/post_example.html
@@ -149,7 +149,14 @@ function openComments(){
while(utterancesLoad==0){
utterancesFrame=document.getElementsByClassName("utterances-frame")[0];
- utterancesFrame.onload = function(){utterancesLoad=1;};
+ if(utterancesFrame!=null){
+ if (utterancesFrame.attachEvent){
+ utterancesFrame.attachEvent("onload", function(){utterancesLoad=1;});
+ }
+ else {
+ utterancesFrame.onload = function(){utterancesLoad=1;};
+ }
+ }
}
cmButton.style.display="none";
cm.style.display="block";