diff --git a/lib/less/browser.js b/lib/less/browser.js index dcbdd00e..ae2667d9 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -124,7 +124,7 @@ function loadStyleSheet(sheet, callback, reload, remaining) { // Stylesheets in IE don't always return the full path if (! /^(https?|file):/.test(href)) { if (href.charAt(0) == "/") { - href = window.location.protocol + "//" + window.location.host + href; + href = window.location.protocol + "//" + window.location.host + href; } else { href = url.slice(0, url.lastIndexOf('/') + 1) + href; }