From e696975f88aeff0609f19385ac022fd4460415fc Mon Sep 17 00:00:00 2001 From: Wynne Crisman Date: Fri, 6 May 2016 18:22:34 -0700 Subject: [PATCH] Oi.. another bug in the fix is now fixed. --- public/js/main.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index d552530..df1f042 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -11,13 +11,9 @@ $(document).ready(function($) { var contentDiv = $('#content'); //var viewName = "main-view"; //var view = $('[bs-view="' + viewName + '"]'); - if(!content || content.length != 1) { - throw "Content div not found"; - } - //else if(!view || view.length != 1) { + //if(!view || view.length != 1) { // throw "View with name: '" + viewName + "' not found"; //} - else { //var layoutManager = new LayoutManager("main-view"); var layoutManager = new LayoutManager(contentDiv); @@ -55,5 +51,4 @@ $(document).ready(function($) { console.log('Server: ' + message); }; */ - } }); \ No newline at end of file