File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 24
24
25
25
MathJax . OutputJax . SVG = MathJax . OutputJax ( {
26
26
id : "SVG" ,
27
- version : "2.0.11 " ,
27
+ version : "2.0.12 " ,
28
28
directory : MathJax . OutputJax . directory + "/SVG" ,
29
29
extensionDir : MathJax . OutputJax . extensionDir + "/SVG" ,
30
30
autoloadDir : MathJax . OutputJax . directory + "/SVG/autoload" ,
Original file line number Diff line number Diff line change 386
386
emex . parentNode . removeChild ( emex ) ;
387
387
388
388
this . idPostfix = "-zoom" ; jax . root . toSVG ( span , span ) ; this . idPostfix = "" ;
389
+ if ( this . operaZoomRefresh )
390
+ { setTimeout ( function ( ) { span . firstChild . style . border = "1px solid transparent" } , 1 ) }
389
391
//
390
392
// Get height and width of zoomed math and original math
391
393
//
1960
1962
} ) ;
1961
1963
} ) ;
1962
1964
1965
+ HUB . Browser . Select ( {
1966
+ Opera : function ( browser ) {
1967
+ SVG . Augment ( {
1968
+ operaZoomRefresh : true // Opera needs a kick to redraw zoomed equations
1969
+ } ) ;
1970
+ }
1971
+ } ) ;
1972
+
1963
1973
HUB . Register . StartupHook ( "End Cookie" , function ( ) {
1964
1974
if ( HUB . config . menuSettings . zoom !== "None" )
1965
1975
{ AJAX . Require ( "[MathJax]/extensions/MathZoom.js" ) }
You can’t perform that action at this time.
0 commit comments