Small changes

Jonathan Hodgson 7 years ago
parent d128ee7bd2
commit cd024a9912
  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(); var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://dotcss.local/' + window.location.host.replace(/^www\./, '') + '.css'); xhr.open('GET', 'https://dotcss.local/' + window.location.host.replace(/^www\./, '') + '.css');
@ -25,3 +26,4 @@ xhr.onreadystatechange = function() {
}; };
xhr.send(); xhr.send();
}

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

Loading…
Cancel
Save