Skip to content

Commit

Permalink
Merge branch 'release-1.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
oatymart committed Aug 26, 2022
2 parents 4b86092 + 5f599c7 commit 17283ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oat-sa/tao-item-runner-qti",
"version": "1.5.0",
"version": "1.5.1",
"displayName": "TAO Item Runner QTI",
"description": "TAO QTI Item Runner modules",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var render = function(interaction, options) {
_.extend(opts, options);

if (opts.allowEmpty && !required) {
$container.find('option[value=' + _emptyValue + ']').text(__('--- leave empty ---') || '--- ' + __('leave empty') + ' ---');
$container.find('option[value=' + _emptyValue + ']').text(__('--- leave empty ---'));
} else {
$container.find('option[value=' + _emptyValue + ']').remove();
}
Expand All @@ -67,7 +67,7 @@ var render = function(interaction, options) {
const itemBody = $('.qti-itemBody');
const itemDir = itemBody.attr('dir') || 'ltr';
return itemDir;
}
};

const dirClass = getItemDir();
$container.select2({
Expand Down

0 comments on commit 17283ff

Please sign in to comment.