XF 1.5 Avoid template syntax error with tis <script>

dondomainer

Active member
Any way you could avoid Template syntax error with tis <script> ???

Code:
 <script>
$(function(){$("#stl_2").stock({symbols : "msft, aapl, goog, fb"});});
</script>

Best regard
 
I'm guessing it's assuming there is a variable there, may be a bug, try this:

Code:
<script>
$(function(){
$("#stl_2").stock({symbols : "msft, aapl, goog, fb"})
;});
</script>
 
Back
Top Bottom