]> git.mjollnir.org Git - moodle.git/commitdiff
fix the display of the special chars keypad (in JCloze and JQuiz)
authorgbateson <gbateson>
Fri, 30 Mar 2007 03:43:00 +0000 (03:43 +0000)
committergbateson <gbateson>
Fri, 30 Mar 2007 03:43:00 +0000 (03:43 +0000)
mod/hotpot/template/v6.php

index bd84a4f09e19563dad0a80b1611e65b1737b1784..72886764a57c3483aaa49957df7d6155400f6b2b 100644 (file)
@@ -1015,11 +1015,9 @@ class hotpot_xml_quiz_template extends hotpot_xml_template_default {
             usort($chars, "hotpot_sort_keypad_chars");
 
             // create keypad buttons for each character
-            $str .= '<div class="Keypad">';
             foreach ($chars as $char) {
                 $str .= "<button onclick=\"TypeChars('".$this->js_safe($char, true)."'); return false;\">$char</button>";
             }
-            $str .= '</div>';
         }
         return $str;
     }