This commit is contained in:
Ross
2021-11-11 15:10:58 +00:00
parent 2dc6836e84
commit fdf95fbbf0
3 changed files with 5 additions and 4 deletions
+2
View File
@@ -534,6 +534,8 @@ td.user-answer-score-2.rapid-ans::after {
.temp-thumb {
float: right;
height: 100px;
width: 100px;
}
.long-answer pre {
+1 -4
View File
@@ -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";
+2
View File
@@ -534,6 +534,8 @@ td.user-answer-score-2.rapid-ans::after {
.temp-thumb {
float: right;
height: 100px;
width: 100px;
}
.long-answer pre {