2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

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]) {