Revert "Make eslint happy"

This reverts commit 132f25e14a.
content-upgrade-on-upload
Frode Petterson 2019-01-09 11:51:17 +01:00
parent 9a7a343844
commit 8d30949969
1 changed files with 19 additions and 13 deletions

View File

@ -144,7 +144,8 @@ H5P.init = function (target) {
'</div>' +
'</div>')
.prependTo($container)
.children().click(function () {
.children()
.click(function () {
H5P.fullScreen($container, instance);
})
.keydown(function (e) {
@ -931,15 +932,20 @@ H5P.Dialog = function (name, title, content, $element) {
.click(function () {
self.close();
})
.children('.h5p-inner').click(function () {
.children('.h5p-inner')
.click(function () {
return false;
})
.find('.h5p-close').click(function () {
.find('.h5p-close')
.click(function () {
self.close();
}).end()
.find('a').click(function (e) {
})
.end()
.find('a')
.click(function (e) {
e.stopPropagation();
}).end()
})
.end()
.end();
/**