fix loading drawingboard css from relative URL

This commit is contained in:
mappu 2017-10-15 22:02:08 +13:00
parent 987c704730
commit 35bbc6c61b
2 changed files with 4 additions and 1 deletions

View File

@ -292,6 +292,10 @@ var contented = (function() {
var setupDrawingBoard = function() {
$("head").append(
'<link rel="stylesheet" type="text/css" href="' + contented.baseURL + 'drawingboard-0.4.6.min.css">'
);
var db_id = "contented-drawing-area-" + guid();
var $db = $("<div>").attr('id', db_id);

View File

@ -148,7 +148,6 @@
</div>
<div class="contented-upload-if contented-if-drawing">
<link rel="stylesheet" type="text/css" href="/drawingboard-0.4.6.min.css">
<div class="contented-drawing-area"></div>
</div>