Skip to content

Commit

Permalink
Merge pull request #18 from silktide/markup-option
Browse files Browse the repository at this point in the history
Fixed ie8 issues
  • Loading branch information
adjohu committed Jun 15, 2015
2 parents d85c2b3 + 37473d7 commit 1ebe538
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cookieconsent.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@
},

dismiss: function (evt) {
evt.preventDefault();
evt.preventDefault && evt.preventDefault();
evt.returnValue = false;
this.setDismissedCookie();
this.container.removeChild(this.element);
},
Expand All @@ -325,7 +326,7 @@
if (!initialized && document.readyState == 'complete') {
cookieconsent.init();
initialized = true;
window[OPTIONS_UPDATER] = cookieconsent.setOptionsOnTheFly.bind(cookieconsent);
window[OPTIONS_UPDATER] = Util.bind(cookieconsent.setOptionsOnTheFly, cookieconsent);
}
})();

Expand Down

0 comments on commit 1ebe538

Please sign in to comment.