lazy load favicons

This commit is contained in:
Nazar Kanaev
2020-09-09 21:20:00 +01:00
parent c72c0678a9
commit dc572f9b5b
3 changed files with 11 additions and 2 deletions

View File

@@ -43,6 +43,8 @@ var sanitize = function(content, base) {
return sanitizer.sanitize(content, {FORBID_TAGS: ['style'], FORBID_ATTR: ['style', 'class']})
}
Vue.use(VueLazyload)
Vue.directive('scroll', {
inserted: function(el, binding) {
el.addEventListener('scroll', debounce(function(event) {

File diff suppressed because one or more lines are too long