diff --git a/admin/write-js.php b/admin/write-js.php index 25c21a29..b3eaa560 100644 --- a/admin/write-js.php +++ b/admin/write-js.php @@ -180,6 +180,13 @@ $(document).ready(function() { return false; }); + $('.edit-draft-notice a').click(function () { + if (confirm('')) { + window.location.href = $(this).attr('href'); + } + + return false; + }); }); markdown && (!$content->have() || $content->isMarkdown)): ?>