Skip to content

Added "data-no-hover" option to show just the share icons.#18

Closed
pserwylo wants to merge 2 commits intoshareNice-org:masterfrom
pserwylo:master
Closed

Added "data-no-hover" option to show just the share icons.#18
pserwylo wants to merge 2 commits intoshareNice-org:masterfrom
pserwylo:master

Conversation

@pserwylo
Copy link
Copy Markdown

@pserwylo pserwylo commented Feb 4, 2013

Having this attribute allows the default behaviour to be changed, so that you can see all of the icons without having to hover. Therefore, the default icon and the share-label are not displayed.

The end result is that when you visit the page, you see:

shareNice-unbranded

instead of:

shareNice-branded

I've updated the technical docs to describe this too.

This attribute changes the default behaviour, so that it
always shows the icons. As such, the shareNice icon and
the "share-label" will not be displayed.
What was a "false || hasAttribute(...)" was inverted to "true || !hasAttribute(...)".
@pserwylo
Copy link
Copy Markdown
Author

pserwylo commented Feb 4, 2013

Haha, bugger. Sorry, I didn't check out @aleksen's pull request first. Turns out we did the exact same thing!

@pserwylo pserwylo closed this Feb 4, 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.

1 participant