diff --git a/LAB.src.js b/LAB.src.js index 99807cd..e503d3d 100644 --- a/LAB.src.js +++ b/LAB.src.js @@ -16,7 +16,7 @@ // stateless variables used across all $LAB instances root_page = /^[^?#]*\//.exec(location.href)[0], - root_domain = /^\w+\:\/\/\/?[^\/]+/.exec(root_page)[0], + root_domain = /^[\w|\-]+\:\/\/\/?[^\/]+/.exec(root_page)[0], append_to = document.head || document.getElementsByTagName("head"), // inferences... ick, but still necessary @@ -511,4 +511,4 @@ } })("addEventListener","DOMContentLoaded"); -})(this); \ No newline at end of file +})(this);