Drop bootstrap grid
[plack-app-gruntmaster.git] / js / 80-sidebar.js
index 2ed0aa869a331e718fcd0fc98da0d481ccce7f81..dcb3bc97e7916ff146a74d5174a9f5d26fedb535 100644 (file)
@@ -1,10 +1,5 @@
-(function(){
-       'use strict';
-
-       $( document ).ready(function() {
-               if(!$('#sidebar').size()) {
-            var content = $('#content');
-            content.wrapInner('<div class="col-md-9">').append('<aside id="sidebar" class="col-md-3">').addClass('row');
-        }
-       });
-})();
+$(function() {
+       if(!document.getElementById('sidebar')) {
+        q('main').insertAdjacentHTML('afterend', '<aside id="sidebar"></aside>');
+    }
+});
This page took 0.008955 seconds and 4 git commands to generate.