Skip to content

Commit 4f6fdf3

Browse files
committed
Disable spell checking in the task notes area
1 parent 5813e7e commit 4f6fdf3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

assets/js/wpcable.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ jQuery(document).ready(function () {
437437

438438
notesMde = new SimpleMDE({
439439
element: notesForm.find( 'textarea' ).val( task.notes )[0],
440-
status: false
440+
status: false,
441+
spellChecker: false
441442
});
442443
notesMde.codemirror.focus();
443444
notesMde.codemirror.setCursor(notesMde.codemirror.lineCount(), 0);
@@ -532,7 +533,8 @@ jQuery(document).ready(function () {
532533

533534
notesMde = new SimpleMDE({
534535
element: notesForm.find( 'textarea' )[0],
535-
status: false
536+
status: false,
537+
spellChecker: false
536538
});
537539

538540
jQuery( window ).on( 'hashchange', updateFilters );

0 commit comments

Comments
 (0)