Inline script really necessary?
-
When using the plugin a script will be generated:
<script>var ms_grabbing_curosr = 'https://xyz.dev/wp-content/plugins/master-slider/public/assets/css/common/grabbing.cur', ms_grab_curosr = 'https://xyz.dev/wp-content/plugins/master-slider/public/assets/css/common/grab.cur';</script>
This is very ugly. Why can’t this be in the masterslider.min.js or at least be added to the DOM dynamically?
- The topic ‘Inline script really necessary?’ is closed to new replies.