Răsfoiți Sursa

Fix Width in fill in blanks

José Loguercio 8 ani în urmă
părinte
comite
d7cd367491
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      main/exercise/fill_blanks.class.php

+ 1 - 1
main/exercise/fill_blanks.class.php

@@ -121,7 +121,7 @@ class FillBlanks extends Question
                         if ($("#samplesize\\\["+i+"\\\]").width()) {
                         // this is a weird patch to avoid to reduce the size of input blank when you are writing in the ckeditor.
                             lainputsize = $("#samplesize\\\["+i+"\\\]").width();
-                            lainputsizetrue = $("#samplesize\\\["+i+"\\\]").width() + 9;
+                            lainputsizetrue = $("#samplesize\\\["+i+"\\\]").width() + 15;
                         }
 
                         if (document.getElementById("weighting["+i+"]")) {