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

a workaround so that the edit button has a cursor without using the frag... #2

Merged
merged 2 commits into from
Oct 25, 2013
Merged

a workaround so that the edit button has a cursor without using the frag... #2

merged 2 commits into from
Oct 25, 2013

Conversation

damiandennis
Copy link
Contributor

just a simple fix so that the edit page shows as a pointer, alternatively this could have been done in css but I had a bit of trouble figuring out the structure of how it all pieces together.

@schmunk42
Copy link
Owner

Does the page jumps to top with this fix or is this prevented by the javascript?
I removed the # once because of this.

A CSS solution would be nicer IMHO.

@damiandennis
Copy link
Contributor Author

The javascript prevents it jumping as it returns false on the onclick event. I think its fairly standard to always have a href with a hash and just have javascript return false. I will leave that up to you to decide though.

@schmunk42
Copy link
Owner

Thanks!

schmunk42 added a commit that referenced this pull request Oct 25, 2013
a workaround so that the edit button has a cursor without using the frag...
@schmunk42 schmunk42 merged commit 763279b into schmunk42:master Oct 25, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants