use value from config for critical comment score
This commit is contained in:
@@ -7,7 +7,6 @@ const LAST_COMMENTS_NODE_CLASSNAME = 'remark42__last-comments';
|
||||
const DEFAULT_LAST_COMMENTS_MAX = 15;
|
||||
const DEFAULT_MAX_COMMENT_SIZE = 1000;
|
||||
const DEFAULT_SORT = '-score';
|
||||
const USELESS_COMMENT_SCORE = -10;
|
||||
const PROVIDER_NAMES = {
|
||||
google: 'Google',
|
||||
facebook: 'Facebook',
|
||||
@@ -25,5 +24,4 @@ module.exports = {
|
||||
DEFAULT_MAX_COMMENT_SIZE,
|
||||
PROVIDER_NAMES,
|
||||
DEFAULT_SORT,
|
||||
USELESS_COMMENT_SCORE,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user