Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

cross-wm-tool cookie management #49

Closed
wants to merge 0 commits into from
Closed

cross-wm-tool cookie management #49

wants to merge 0 commits into from

Conversation

Pomax
Copy link
Contributor

@Pomax Pomax commented May 6, 2013

surgically injected all the working bits on top of master.

navigator.id.request();
} else {
navigator.id.logout();
$('.publish-button.wm-button.wm-button-blue.short').hide();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surely using an ID on that element is a better idea than that selector?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nyet; no guarantees that there is only ever one publish button, so I'm staying well away from possibly colliding identifiers.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In which case why can't we just go with .publish-button?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hah, completely missed that. Yes, very much so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants