MDL-55074 behat: Fix zoom in/out dom insertion
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -218,7 +218,7 @@ define(['jquery', 'core/notification', 'core/templates', 'core/fragment',
|
||||
templates.render('mod_assign/popout_button', {}).done(function(html) {
|
||||
var parents = region.find('[data-fieldtype="filemanager"],[data-fieldtype="editor"],[data-fieldtype="grading"]')
|
||||
.closest('.fitem');
|
||||
parents.addClass('has-popout').find('.fitemtitle label').parent().append(html);
|
||||
parents.addClass('has-popout').find('label').parent().append(html);
|
||||
|
||||
region.on('click', '[data-region="popout-button"]', this._togglePopout.bind(this));
|
||||
}.bind(this)).fail(notification.exception);
|
||||
|
||||
Reference in New Issue
Block a user