NodeBB/NodeBB

View on GitHub
public/src/client/account/best.js

Summary

Maintainability
A
1 hr
Test Coverage
'use strict';


define('forum/account/best', ['forum/account/header', 'forum/account/posts'], function (header, posts) {
    const Best = {};

    Best.init = function () {
        header.init();

        $('[component="post/content"] img:not(.not-responsive)').addClass('img-fluid');

        posts.handleInfiniteScroll('account/best');
    };

    return Best;
});