Fork me on GitHub
Current releases are 2.1.1 (2 Aug 2014) and 2.0.18.13 (5 Aug 2014)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

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.