Calculator: Removes 0 on bail (#4169)
* Removed 0 on error. Saves user confusion. * Add tracking pixel.master
parent
4c789c0c85
commit
312edbc53c
|
@ -458,9 +458,14 @@ DDH.calculator = DDH.calculator || {};
|
|||
setCButtonState("C");
|
||||
return false;
|
||||
} else {
|
||||
display.value = "0";
|
||||
display.value = "";
|
||||
evaluated = true;
|
||||
setCButtonState("C");
|
||||
DDG.pixel.fire(
|
||||
'iafd',
|
||||
'calculator', {
|
||||
q: DDG.get_query_encoded()
|
||||
});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue