Skip to content

Commit

Permalink
Fix Pagedown js not found if LifePress not at root
Browse files Browse the repository at this point in the history
Refs #53
  • Loading branch information
MitchellMcKenna committed Oct 31, 2013
1 parent d20a289 commit db65f81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/views/admin/write.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
<p class="tip"><strong>Shorthand</strong><br />The blog post content area supports the <a href="http://daringfireball.net/projects/markdown/syntax" rel="external">Markdown</a> method of shorthand markup.</p>
</div>

<script type="text/javascript" src="/public/scripts/pagedown/Markdown.Converter.js"></script>
<script type="text/javascript" src="/public/scripts/pagedown/Markdown.Sanitizer.js"></script>
<script type="text/javascript" src="/public/scripts/pagedown/Markdown.Editor.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('base_url')?>public/scripts/pagedown/Markdown.Converter.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('base_url')?>public/scripts/pagedown/Markdown.Sanitizer.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('base_url')?>public/scripts/pagedown/Markdown.Editor.js"></script>
<script type="text/javascript">
(function () {
var converter1 = Markdown.getSanitizingConverter();
Expand Down

0 comments on commit db65f81

Please sign in to comment.