Small changes

master
Jonathan Hodgson 7 years ago
parent c1fa136caa
commit b30fb8b8e2
  1. 2
      chromeExtentions/dotcss/dotcss.js
  2. 2
      chromeExtentions/dotjs/dotjs.js

@ -1,3 +1,4 @@
if(window.location.host.indexOf(".local") == -1){
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://dotcss.local/' + window.location.host.replace(/^www\./, '') + '.css');
@ -25,3 +26,4 @@ xhr.onreadystatechange = function() {
};
xhr.send();
}

@ -1,3 +1,4 @@
if(window.location.host.indexOf(".local") != -1){
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://dotjs.local/' + window.location.host.replace(/^www\./, '') + '.js');
@ -25,3 +26,4 @@ xhr.onreadystatechange = function() {
};
xhr.send();
}

Loading…
Cancel
Save