From 00744e365de18de430b5a09b20492106dd4e1b4b Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 13 Oct 2016 12:50:26 -0400 Subject: [PATCH] Removing Bootstrap from Araport --- app/scripts/app.js | 4 ++-- app/scripts/start.js | 1 + index.html | 15 +++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/scripts/app.js b/app/scripts/app.js index 2ec5cdd..37287c1 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -2,7 +2,7 @@ $ = jQuery; (function(window, $, undefined) { 'use strict'; - console.log('Hello, Araport_ePlant!'); - + $('link[rel=stylesheet][href*="https://www.araport.org/sites/default/files/css/"]').remove(); + $('link[rel=stylesheet][href*="https://maxcdn.bootstrapcdn.com/"]').remove(); })(window, jQuery); diff --git a/app/scripts/start.js b/app/scripts/start.js index 3d87309..0440628 100644 --- a/app/scripts/start.js +++ b/app/scripts/start.js @@ -54,6 +54,7 @@ function inputBlur(i) { console.log('jQuery ready, starting ePlant...'); // Deleting Araport css $('link[rel=stylesheet][href*="https://www.araport.org/sites/default/files/css/"]').remove(); + $('link[rel=stylesheet][href*="https://maxcdn.bootstrapcdn.com/"]').remove(); /* Google maps initailiz */ // GoogleMapsLoader.KEY = "AIzaSyAj876MbMPM8roSi2JZFgGFUzTPpZ56kzU"; diff --git a/index.html b/index.html index a2f4bcc..2351715 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ Araport_ePlant | AIP Science Apps | Test Runner + @@ -16,18 +17,18 @@ - + - + - + -
- + include "/app/main.html" -