Permalink
Browse files

The image path now use "<?php echo get_template_directory_uri(); ?>"

And jQuery code now is safe in case "no-conflict" is activated
  • Loading branch information...
1 parent 8a1d344 commit a4012b04f8b949e5c10d65e6abf93f70a0f7f3f0 @nicoandrade nicoandrade committed Feb 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 footer.php
View
4 footer.php
@@ -6,14 +6,14 @@
<p class="cc">This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</p>
- <p><a href="http://simplebits.com" id="sb"><img src="/wp-content/themes/pears/images/sb-black.png" /></a></p>
+ <p><a href="http://simplebits.com" id="sb"><img src="<?php echo get_template_directory_uri(); ?>/images/sb-black.png" /></a></p>
</div> <!-- /footer -->
<!-- jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script>
-$(document).ready(function() {
+jQuery(document).ready(function($) {
// update rendered pattern when user edits the textareas
$('#markup textarea').live('keyup', function(e) {
$('#pattern-wrap').html($(this).val());

0 comments on commit a4012b0

Please sign in to comment.