0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 14:42:40 +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 // Add sign function
mathParser.functions.sign = function (a) { mathParser.functions.sign = function (a) {
if(a == 0) return ''; if(a == 0) return '';
if(a > 0) { if(a > 0) return '\\+';
return '\\+'; return '\\-';
} else {
return '\\-';
}
}; };
// Add signed function // Add signed function
mathParser.functions.signed = function (a) { mathParser.functions.signed = function (a) {