Browse Source

Fix cards slightly overlapping sometimes on home screen load

tags/v1.2.0
Skylar Ittner 9 months ago
parent
commit
ea2035bf4d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      www/js/home.js

+ 4
- 0
www/js/home.js View File

@@ -115,6 +115,10 @@ function loadNotesToCards(notes, oldnotes, callback) {
}
});
setTrayMenu(trayitems);
// Make sure gutters and stuff work
setTimeout(function () {
window.shuffleInstance.layout();
}, 500);
if (typeof callback == 'function') {
callback();
}

Loading…
Cancel
Save