[wp-trac] [WordPress Trac] #29286: Plugin cards: make whole card open info modal
WordPress Trac
noreply at wordpress.org
Sun Aug 24 20:52:33 UTC 2014
#29286: Plugin cards: make whole card open info modal
-------------------------------------------------+--------------------
Reporter: stephdau | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Plugins | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing 2nd-opinion | Focuses:
-------------------------------------------------+--------------------
Comment (by aaroncampbell):
The only obvious way that I see (and I make no guarantees I'm not missing
something here) is to use `var r = s.getRangeAt(0)` and then compare
`r.startOffset` and `r.endOffset`
This works in Chrome and Firefox, but I don't have IE anywhere here to
test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29286#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list