Ticket #2837: 2837_2.patch
File 2837_2.patch, 634 bytes (added by , 15 years ago) |
---|
-
_source/plugins/styles/plugin.js
529 529 530 530 var getElement = function( style, targetDocument ) 531 531 { 532 var el = style._.element; 533 534 if ( el ) 535 return el.clone(); 532 var el; 536 533 537 534 var def = style._.definition; 538 535 var variables = style._.variables; … … 583 580 } 584 581 } 585 582 586 // Save the created element. It will be reused on future calls. 587 return ( style._.element = el ); 583 return el; 588 584 }; 589 585 })(); 590 586