File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
addons/qtype/numerical/services/handlers Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,9 @@ export class AddonQtypeNumericalHandlerService implements CoreQuestionHandler {
238238 if ( question . parsedSettings . unitdisplay === AddonQtypeNumericalHandlerService . UNITINPUT &&
239239 question . parsedSettings . unitgradingtype === AddonQtypeNumericalHandlerService . UNITGRADED &&
240240 ! this . isValidValue ( unit ) ) {
241- return Translate . instant ( 'addon.qtype_numerical.invalidnumber' ) ;
241+ // It would be great to return an error if the unit is required and not supplied.
242+ // But in LMS this is not implemented.
243+ return ;
242244 }
243245
244246 return ;
Original file line number Diff line number Diff line change @@ -121,8 +121,6 @@ body:not(.core-iframe-fullscreen):not(.core-reading-mode-enabled) .collapsible-h
121121
122122body .core-reading-mode-enabled .collapsible-header-page {
123123 .collapsible-header-original-title {
124- pointer-events : none ;
125- user-select : none ;
126- visibility : hidden ;
124+ display : none ;
127125 }
128126}
You can’t perform that action at this time.
0 commit comments