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

Keydown doesnt show grid #13

Open
alvarix opened this issue Dec 11, 2012 · 3 comments
Open

Keydown doesnt show grid #13

alvarix opened this issue Dec 11, 2012 · 3 comments

Comments

@alvarix
Copy link

alvarix commented Dec 11, 2012

The grid is there, I can dev tool it and change it's property to make it appear.
It is one particular wp site.

I tried disabling all the other javascripts I could access, disabled all plugins, and moved the script tag to various locations but nothing will make it work.

I used an older version of the script that works on another wp site.

Unfortunately I can't share the site at the moment.
Do you have any tips how I may debug this?

@dotjay
Copy link
Owner

dotjay commented Jan 14, 2013

My apologies for the delay. My guess would be that a WP plugin is hijacking the keydown event and not allowing the event to pass through, but odd that hashgrid still doesn't work when all plugins are disabled. Have you tried using a DOM inspector dev tool to put a breakpoint on the keydown event and step through the script(s)?

@alvarix
Copy link
Author

alvarix commented Feb 25, 2013

Turns out if you omit the css for the horizontal grid lines the script fails.
#grid div.horiz{
...
}

I dont usually care about the hor grid...

@dotjay
Copy link
Owner

dotjay commented Mar 1, 2013

Ah, got it! Well done. I'll fix the script to not fail on that. Of course, the CSS could be left in to hide the horizontal grid lines like so:

#grid div.horiz{
display: none !important;
} 

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