Fix this.file path

This commit is contained in:
Cato Antonsen
2017-08-03 21:34:23 +02:00
parent 586beea21e
commit 353786cb61
2 changed files with 2 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ var Module = Class.extend({
* return string - File path.
*/
file: function (file) {
return this.data.path + "/" + file;
return (this.data.path + "/" + file).replace("//", "/");
},
/* loadStyles()