[wp-trac] [WordPress Trac] #29286: Plugin cards: make whole card open info modal

WordPress Trac noreply at wordpress.org
Sat Aug 23 12:00:35 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 ocean90):

 [attachment:29286.5.diff​]:
 * `document.selection` is no function in IE, so `document.selection()`
 produces an error
 * `document.selection.type` is text in IE 8
 * Opera 12, Firefox 31 and IE > 9 doesn't support the `type` property
 * We can remove `document.getSelection()` in favour of just
 `window.getSelection()`, the later on seems to be the right one

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29286#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list