fix loading drawingboard css from relative URL
This commit is contained in:
parent
987c704730
commit
35bbc6c61b
@ -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);
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user