Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enforceFocus #7371

Closed
ButuzGOL opened this issue Mar 23, 2013 · 2 comments
Closed

enforceFocus #7371

ButuzGOL opened this issue Mar 23, 2013 · 2 comments

Comments

@ButuzGOL
Copy link

, enforceFocus: function () {
        var that = this
        $(document).on('focusin.modal', function (e) {
          if (that.$element[0] !== e.target && !that.$element.has(e.target).length) {
            that.$element.focus()
          }
        })
      }

Can somebody explain what this method do ?

@cvrebert
Copy link
Collaborator

Inquiries that are not about bugs or feature requests belong on the mailing list, not the bug tracker.

@ButuzGOL
Copy link
Author

It's related to this issue AVapps/FileReader#33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants