Skip to content

Commit

Permalink
Merge pull request #186 from bantic/wysihtml
Browse files Browse the repository at this point in the history
---
  • Loading branch information
Oliver Pulges committed Jul 1, 2015
2 parents 76da5c7 + a18180a commit 43d4971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ wysihtml5.browser = (function() {
It is on window but cannot return text/html
Should actually check for clipboardData on paste event, but cannot in firefox
*/
supportsModenPaste: function () {
supportsModernPaste: function () {
return !("clipboardData" in window);
},

Expand Down
2 changes: 1 addition & 1 deletion src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
var oldHtml,
cleanHtml;

if (wysihtml5.browser.supportsModenPaste()) {
if (wysihtml5.browser.supportsModernPaste()) {
this.on("paste:composer", function(event) {
event.preventDefault();
oldHtml = wysihtml5.dom.getPastedHtml(event);
Expand Down

0 comments on commit 43d4971

Please sign in to comment.