From 4463e522276febb4c1ed50ae5e76dbd5bbdc8947 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Wed, 11 May 2011 14:33:55 -0400 Subject: [PATCH] (minor) ws --- lib/less/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }