fix(desktop): move search text highlight logic after update of notes to display
Referencing issue standardnotes/web#263
This commit is contained in:
@@ -107,11 +107,11 @@ angular.module('app')
|
||||
this.DefaultNotesToDisplayValue = (document.documentElement.clientHeight / MinNoteHeight) || 20;
|
||||
|
||||
this.paginate = function() {
|
||||
this.notesToDisplay += this.DefaultNotesToDisplayValue
|
||||
|
||||
if (this.searchSubmitted) {
|
||||
desktopManager.searchText(this.noteFilter.text);
|
||||
}
|
||||
|
||||
this.notesToDisplay += this.DefaultNotesToDisplayValue
|
||||
}
|
||||
|
||||
this.resetPagination = function() {
|
||||
|
||||
Reference in New Issue
Block a user