Bug Fix: Date Keyboard Shortcut no-longer crashes the browser

This commit is contained in:
Matthew Harrison-Jones 2013-09-23 16:23:05 +01:00 committed by Hannah Wolfe
parent 939dba0468
commit 67132ff28b

View File

@ -113,6 +113,8 @@
break;
case "currentDate":
md = moment(new Date()).format("D MMMM YYYY");
this.elem.replaceSelection(md, "end");
pass = false;
break;
default:
if (this.options.syntax[this.style]) {