Skip to content

Commit 0e411e2

Browse files
committed
fix url
1 parent 47d14be commit 0e411e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ditto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function normalize_paths() {
257257
var src = $(this).attr("src");
258258
if($(this).attr("src").indexOf("../") > -1){
259259
src = $(this).attr("src").replace("../", "");
260-
$(this).attr("src", location.host + "/" + src);
260+
$(this).attr("src", "http://" + location.host + "/" + src);
261261
}
262262
else{
263263
src = $(this).attr("src").replace("./", "");

0 commit comments

Comments
 (0)