mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-18 14:31:24 +02:00
better sketched, packing
This commit is contained in:
@@ -5,7 +5,7 @@ var ed = "\\]";
|
||||
* Is there going to be anything to convert here?
|
||||
*/
|
||||
function hasLaTeX(input) {
|
||||
return input.indexOf(op) + input.indexOf(ed) >= 0;
|
||||
return input.indexOf(op) !== -1 && input.indexOf(ed) !== -1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user