equal
deleted
inserted
replaced
891 var h = $('#imgedit-history-' + postid).val(), |
891 var h = $('#imgedit-history-' + postid).val(), |
892 history = ( h !== '' ) ? JSON.parse(h) : [], |
892 history = ( h !== '' ) ? JSON.parse(h) : [], |
893 pop = this.intval( $('#imgedit-undone-' + postid).val() ); |
893 pop = this.intval( $('#imgedit-undone-' + postid).val() ); |
894 |
894 |
895 if ( pop < history.length ) { |
895 if ( pop < history.length ) { |
896 if ( confirm( $('#imgedit-leaving-' + postid).html() ) ) { |
896 if ( confirm( $('#imgedit-leaving-' + postid).text() ) ) { |
897 return false; |
897 return false; |
898 } |
898 } |
899 return true; |
899 return true; |
900 } |
900 } |
901 return false; |
901 return false; |