.
This commit is contained in:
@@ -534,6 +534,8 @@ td.user-answer-score-2.rapid-ans::after {
|
||||
|
||||
.temp-thumb {
|
||||
float: right;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.long-answer pre {
|
||||
|
||||
@@ -471,8 +471,7 @@
|
||||
|
||||
if (reader.result.startsWith("data:application/octet-stream;base64")) {
|
||||
const element = $("<div class='temp-thumb'></div>").get(0)
|
||||
element.height = 100;
|
||||
element.width = 100;
|
||||
$(el).parent().parent().prepend(element);
|
||||
const imageId = cornerstoneWADOImageLoader.wadouri.fileManager.add(
|
||||
file
|
||||
);
|
||||
@@ -482,11 +481,9 @@
|
||||
cornerstone.resize(element)
|
||||
|
||||
});
|
||||
$(el).parent().parent().prepend(element);
|
||||
|
||||
} else {
|
||||
var image = new Image();
|
||||
image.height = 100;
|
||||
image.title = file.name;
|
||||
image.src = reader.result;
|
||||
image.className = "temp-thumb";
|
||||
|
||||
@@ -534,6 +534,8 @@ td.user-answer-score-2.rapid-ans::after {
|
||||
|
||||
.temp-thumb {
|
||||
float: right;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.long-answer pre {
|
||||
|
||||
Reference in New Issue
Block a user