0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Update shared/naturalcrit/markdown.js

Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
G.Ambatte
2024-08-02 07:02:57 +12:00
committed by GitHub
parent 21ac50cd27
commit 6f99fe7455

View File

@@ -53,11 +53,8 @@ mathParser.functions.abs = function (a) {
// Add sign function
mathParser.functions.sign = function (a) {
if(a == 0) return '';
if(a > 0) {
return '\\+';
} else {
return '\\-';
}
if(a > 0) return '\\+';
return '\\-';
};
// Add signed function
mathParser.functions.signed = function (a) {