- Timestamp:
- 02/06/2021 02:14:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/autosave.js
r49807 r50232 711 711 712 712 if ( ! editor || editor.isHidden() ) { 713 if ( $( '#' + field ).val() !== initialCompareData[ field ] ) {713 if ( ( $( '#' + field ).val() || '' ) !== initialCompareData[ field ] ) { 714 714 changed = true; 715 715 // Break. … … 722 722 } ); 723 723 724 if ( $( '#title' ).val() !== initialCompareData.post_title ) {724 if ( ( $( '#title' ).val() || '' ) !== initialCompareData.post_title ) { 725 725 changed = true; 726 726 }
Note: See TracChangeset
for help on using the changeset viewer.