OperatorNode: remove unnecessary elseif

This commit is contained in:
Max Bruckner 2015-02-14 02:36:57 +01:00
parent bbe22a9055
commit 183d15fcfe

View File

@ -166,10 +166,7 @@ OperatorNode.prototype.toTex = function() {
}
if (rp instanceof OperatorNode) {
if (rp.op === '+' || rp.op === '-') {
rhb = true;
}
else if (rp.op === '*') {
if (rp.op === '+' || rp.op === '-' || rp.op === '*') {
rhb = true;
}
}