mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-26 03:38:51 +08:00
* Add and start jQuery AreYouSure * Update SimpleMDE to 1.10.1 for `forceSync` support * Forgot to remove old version SimpleMDE 1.10.0 * formatting -.-
This commit is contained in:
@ -483,6 +483,7 @@ function initWiki() {
|
||||
var simplemde = new SimpleMDE({
|
||||
autoDownloadFontAwesome: false,
|
||||
element: $edit_area[0],
|
||||
forceSync: true,
|
||||
previewRender: function (plainText, preview) { // Async method
|
||||
setTimeout(function () {
|
||||
// FIXME: still send render request when return back to edit mode
|
||||
@ -1092,4 +1093,8 @@ $(window).load(function () {
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$('form').areYouSure();
|
||||
});
|
||||
|
Reference in New Issue
Block a user