Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Critical: Update to 2.1.8, released 15 Jan.

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.