aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
Diffstat (limited to 'js/mediators')
-rw-r--r--js/mediators/io-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index 64210a02..0a851a4d 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -338,7 +338,7 @@ exports.IoMediator = Montage.create(Component, {
338 // 338 //
339 regex = new RegExp(fileCouldDirUrl.replace(/\//gi, '\\\/'), 'gi'); 339 regex = new RegExp(fileCouldDirUrl.replace(/\//gi, '\\\/'), 'gi');
340 // 340 //
341 if (local.split('/').length > 1) { 341 if (local.split('/').length > 2) {
342 adjCss = adjCss.replace(regex, '../'); 342 adjCss = adjCss.replace(regex, '../');
343 } else { 343 } else {
344 adjCss = adjCss.replace(regex, ''); 344 adjCss = adjCss.replace(regex, '');