fix some absolute URLs

absolute URLs should never occur in the javascript
pull/2430/head
Min RK 9 years ago
parent eaeb5cb410
commit 61439f8ffb

@ -250,7 +250,7 @@ define([
link.id = 'favicon';
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = src;
link.href = utils.url_path_join(utils.get_body_data('baseUrl'), src);
if (oldLink) document.head.removeChild(oldLink);
document.head.appendChild(link);
};

@ -140,7 +140,7 @@ define([
.append(
$('<link>')
.attr('rel',"stylesheet")
.attr('href',"/static/css/notebook.css")
.attr('href', utils.url_path_join(utils.get_body_data('baseUrl'), "static/style/style.min.css"))
.attr('type',"text/css")
)
.append(

Loading…
Cancel
Save