Fixed Gulp not rebuilding fontello CSS on development mode.

Updated dashboard's thumbs view to only call LazyLoad's update function
once.

Bumped v1 version string.
This commit is contained in:
Bobby Wibowo 2019-09-22 11:26:05 +07:00
parent 2e40124c62
commit 0baf6b9275
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
5 changed files with 8 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -122,7 +122,7 @@ gulp.task('default', gulp.series('lint', 'clean', 'build', 'exec:bump-versions')
gulp.task('watch:css', () => {
return gulp.watch([
'src/**/*.css'
], gulp.series('clean:css', 'build:css'))
], gulp.series('clean:css', 'build:css', 'build:fontello'))
})
gulp.task('watch:js', () => {

View File

@ -645,8 +645,11 @@ page.getUploads = (params = {}) => {
table.appendChild(div)
page.checkboxes[page.currentView] = table.querySelectorAll('.checkbox[data-action="select"]')
page.lazyLoad.update()
}
// Scrolling from bottom to top
// will cause all thumbs to be loaded in advance anyway
page.lazyLoad.update()
} else {
page.dom.innerHTML = `
${pagination}

View File

@ -1,5 +1,5 @@
{
"1": "1569041231",
"1": "1569126344",
"2": "1568894058",
"3": "1568894058",
"4": "1568894058",