Fix preprocessed query edgecase. (#4237)
parent
43e2c6e08f
commit
3869ad10ac
|
@ -852,7 +852,7 @@ DDH.calculator = DDH.calculator || {};
|
|||
*/
|
||||
function calculateFromSearchBar(query) {
|
||||
try {
|
||||
math.eval(query);
|
||||
math.eval(normalizeExpression(query));
|
||||
display.value = query;
|
||||
calculator("=");
|
||||
} catch(_err) {
|
||||
|
|
Loading…
Reference in New Issue