Plugin Directory

Changeset 3354942


Ignore:
Timestamp:
09/02/2025 09:00:21 PM (7 months ago)
Author:
dramb
Message:

Change an erroneous attempt to address the parent node as an array to direct access.

Location:
cs-integration
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cs-integration/tags/1.0.5/public/js/cs-integration-public.js

    r3354843 r3354942  
    8787        parent = parent.parentNode; /* Fetch the 'cs-calendar-event' div which contains the event these details belong to */
    8888        /* Take the focus back to the parent to help screen-readers */
    89         if (parent !== null) { parent[0].focus(); }
     89        if (parent !== null) { parent.focus(); }
    9090    }
    9191}
  • cs-integration/trunk/public/js/cs-integration-public.js

    r3257115 r3354942  
    8787        parent = parent.parentNode; /* Fetch the 'cs-calendar-event' div which contains the event these details belong to */
    8888        /* Take the focus back to the parent to help screen-readers */
    89         if (parent !== null) { parent[0].focus(); }
     89        if (parent !== null) { parent.focus(); }
    9090    }
    9191}
Note: See TracChangeset for help on using the changeset viewer.