WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20014, comment 11


Ignore:
Timestamp:
03/24/12 21:46:16 (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20014, comment 11

    initial v1  
    33If we are going with touch support detection from JS, perhaps we should use the same code as in the plugin, i.e. `if ( 'ontouchend' in document )`. 
    44 
    5 The JS from https://core.trac.wordpress.org/ticket/20014#comment:4 runs (and sets a cookie) on every touch everywhere, not needed. Also there's a wpCookies group of functions that can be used instead or repeating the same code. 
     5The JS from https://core.trac.wordpress.org/ticket/20014#comment:4 would run (and sets a cookie) on every touch everywhere, not needed. Also there's a wpCookies group of functions that can be used instead or repeating the same code.