Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6935, comment 7


Ignore:
Timestamp:
03/03/2016 10:39:28 PM (8 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6935, comment 7

    initial v1  
    11Attached patch does a few things:
    2 - Passes JSHint
    3 - Checks to see if the current URL is using the `?r` parameter.  If it exists, we use the old selector, which should fix this issue.  If it doesn't, we use the `closest()` selector so #6820 stays fixed.
     2- Passes JSHint.  If we do not care about JSHint, ignore most of the changes.
     3- The most important change is to check to see if the current URL is using the `?r` parameter.  If it exists, we use the old selector, which should fix this issue.  If it doesn't, we use the `closest()` selector so #6820 stays fixed.
    44- The URL querystring check could be improved.  I just did a quick search for a decent JS URL querystring function ;)