Commit d34c205c authored by Sven Rhinow's avatar Sven Rhinow

$. durch jQuery. ersetzt da es bei aktivem Mootools zu Fehlern kommt

parent f909d08b
......@@ -206,8 +206,8 @@ class ModuleSRLayer extends \Module
$GLOBALS['TL_JAVASCRIPT'][] = $jsSource;
}
if((int) $this->srl_delay > 0) $GLOBALS['TL_JQUERY'][] = '<script type="text/javascript"> jQuery(document).ready(function() { setTimeout(function(){ var ml = new $.srLayer( { '.$jsOptions.', '.$this->srl_option_other.' } ); }, '.$this->srl_delay.'); });</script>';
else $GLOBALS['TL_JQUERY'][] = '<script type="text/javascript">jQuery(document).ready(function() { $.srLayer( { '.$jsOptions.', '.$this->srl_option_other.' } ); });</script>';
if((int) $this->srl_delay > 0) $GLOBALS['TL_JQUERY'][] = '<script type="text/javascript"> jQuery(document).ready(function() { setTimeout(function(){ var ml = new jQuery.srLayer( { '.$jsOptions.', '.$this->srl_option_other.' } ); }, '.$this->srl_delay.'); });</script>';
else $GLOBALS['TL_JQUERY'][] = '<script type="text/javascript">jQuery(document).ready(function() { jQuery.srLayer( { '.$jsOptions.', '.$this->srl_option_other.' } ); });</script>';
}
// ansonsten Mootools
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment