MCPcopy Index your code
hub / github.com/TruthHun/BookStack / resetEditorChanged

Function resetEditorChanged

static/js/markdown.js:337–344  ·  view source on GitHub ↗

* 设置编辑器变更状态 * @param $is_change

($is_change)

Source from the content-addressed store, hash-verified

335 * @param $is_change
336 */
337 function resetEditorChanged($is_change) {
338 if($is_change && !window.isLoad ){
339 $("#markdown-save").removeClass('disabled').addClass('change');
340 }else{
341 $("#markdown-save").removeClass('change').addClass('disabled');
342 }
343 window.isLoad = false;
344 }
345 /**
346 * 添加顶级文档
347 */

Callers 2

markdown.jsFile · 0.85
saveDocumentFunction · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected