Cleanup itex extension
Most of the DOM manipulations can be done before doing the AJAX call. This leaves just the insertion of the MathML nodes in the mrow for the AJAX callback function. Also, make the stroke-width for the connector tool default to 2.
This commit is contained in:
parent
d201f79766
commit
4cd626ef49
2 changed files with 15 additions and 12 deletions
|
@ -305,7 +305,7 @@ $(function() {
|
|||
"id": getNextId(),
|
||||
"points": (x+','+y+' '+x+','+y+' '+start_x+','+start_y),
|
||||
"stroke": '#000',
|
||||
"stroke-width": 3,
|
||||
"stroke-width": 2,
|
||||
"fill": "none",
|
||||
"opacity": .5,
|
||||
"style": "pointer-events:none"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue