Reduce some JS
This commit is contained in:
parent
682d8527f7
commit
2bb30e1a46
2
js/comments.min.js
vendored
2
js/comments.min.js
vendored
File diff suppressed because one or more lines are too long
@ -377,9 +377,11 @@ _$('.comment-section')?.addEventListener('keydown', event => {
|
||||
'l': 'link'
|
||||
};
|
||||
|
||||
const bbCode = keyMapping[key] || key;
|
||||
|
||||
fcn_wrapInTag(document.activeElement, bbCode, {'shortcode': true});
|
||||
fcn_wrapInTag(
|
||||
document.activeElement,
|
||||
keyMapping[key] || key,
|
||||
{ 'shortcode': true }
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user