Fork me on GitHub
Current Releases are 2.1 stable (major release) and 2.0.18.11 (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

Issue: Javascript and icon images load on every page call

crmarkscrmarks New
edited May 2011 in Questions
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.