Skip to content

Commit

Permalink
fixed; notification not showing up in ie8 onload
Browse files Browse the repository at this point in the history
GH #23
  • Loading branch information
wavded committed Jun 4, 2012
1 parent b679a9b commit 2d81046
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions humane.js
Expand Up @@ -55,6 +55,7 @@
this.removeEvent = ENV.bind(this.remove,this) this.removeEvent = ENV.bind(this.remove,this)
this.transEvent = ENV.bind(this._afterAnimation,this) this.transEvent = ENV.bind(this._afterAnimation,this)
ENV.domLoaded = true ENV.domLoaded = true
this._run()
}, },
_afterTimeout: function () { _afterTimeout: function () {
if (!ENV.config(this.currentMsg.waitForMove,this.waitForMove)) this.remove() if (!ENV.config(this.currentMsg.waitForMove,this.waitForMove)) this.remove()
Expand Down
11 changes: 11 additions & 0 deletions test/issue23.html
@@ -0,0 +1,11 @@
<link href='../themes/bigbox.css' rel='stylesheet'>
<script src='../humane.js'></script>
<body onload="humaneShow();">
<p>Automatically Show</p>
<script>
function humaneShow(){
humane.log("Welcome Back");
}
</script>
</body>

0 comments on commit 2d81046

Please sign in to comment.