8000 If a link has an onclick event, fire that instead of trying to access the link's href attribute -- not work · Issue #252 · glee/glee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

If a link has an onclick event, fire that instead of trying to access the link's href attribute -- not work #252

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

Open
astonelin opened this issue Jul 2, 2013 · 0 comments

Comments

@astonelin
Copy link

This is a issue in 4 years ago, but it seems not workable at current version.
For example of a 'img' tag with onClick handler, glee will not do a click simulation.
Maybe it lacks of a (tag === 'img') within following statements.

    if ((tag === 'input' 
        && (el.type === 'button' || el.type === 'submit' || el.type === 'image'))
        || tag === 'button') {

      setTimeout(function() {
        Utils.simulateClick(el, false);
        Glee.blur();
      }, 0);
    }
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

1 participant
0