Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

Issue: Javascript and icon images load on every page call

crmarkscrmarks New
edited May 2011 in Vanilla 2.0 Help
This discussion is related to the Vanilla MarkitUp addon.
This has been a nice plugin to provide at least basic buttons to help with formatting. One thing I noticed though is that its javascript, and subsequent icons, are loaded on every single page, even when a text entry box is not displayed or needed. In hopes of improving page load times, is there any way to correct this?

This is in the header of every page:
<script type="text/javascript">

$(document).ready(function() {
$("#Form_Body").markItUp(mySettings);
});

</script>


It really should only be initialized on pages that can use it.

I guess if we're making feature requests, the ability to pick and choose which formatting buttons are displayed would be great.
Sign In or Register to comment.