Make eslint happy

content-upgrade-on-upload
Oliver Tacke 2018-11-23 13:05:23 +01:00
parent f2a9801879
commit 132f25e14a
1 changed files with 13 additions and 19 deletions

View File

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