Browse Source

Merge pull request #1550 from jloguercio/1.11.x

Fix Width in fill in blanks
José Loguercio 8 years ago
parent
commit
64d2887ed7
1 changed files with 1 additions and 1 deletions
  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+"]")) {