lazy load favicons
This commit is contained in:
parent
c72c0678a9
commit
dc572f9b5b
3 changed files with 11 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue