move div from footer to sidebar
authorS7012MY <l3asketballplayer@yahoo.com>
Sun, 2 Feb 2014 20:30:51 +0000 (22:30 +0200)
committerS7012MY <l3asketballplayer@yahoo.com>
Sun, 2 Feb 2014 20:30:51 +0000 (22:30 +0200)
js/scripts.js
tmpl/pb.en

index 6e0827d502cbfd8f76c77e025bca4c824c0ed27c..4872092b65f9fb2f021df0be03027c70f6c5e334 100644 (file)
@@ -37,3 +37,9 @@ if(theme) {
                $('#yardi').attr('src', theme == "slate" || theme == "cyborg" ? "/img/yardi-white.png" : "/img/yardi-blue.png");
        })
 }
+
+$( document ).ready(function() {
+    var sb=$('#sidebar').detach();
+    sb.appendTo($('#sponsors'));
+    console.log( "inside!" );
+});
index dbbf671205201b5c16e38f809b2fb6fed541f3cb..50a460e0074ddaf6ea9170474aa3e02d76106e4e 100644 (file)
 </div>
 
 </div>
-<script type="text/javascript">
-$( init );
-function init() {
-       var sb=$('#sidebar').detach();
-       sb.appendTo($('#sponsors'));
-}
-</script>
 <div id="sponsors" class="col-md-4 column">
 <a class="thumbnail" href="https://www.facebook.com/YardiRomania"><img id="yardi" src="/img/yardi-blue.png"></a>
 </div>
This page took 0.011273 seconds and 4 git commands to generate.