Plugin Directory

Changeset 2440821


Ignore:
Timestamp:
12/16/2020 04:34:12 PM (5 years ago)
Author:
ced1870
Message:

2.2.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tooltip-ck/trunk/assets/tooltipck.js

    r2440816 r2440821  
    7878
    7979            tooltip.attr('data-done', '1');
    80 
    8180            if (options.isMobile == 1) {
    8281                tooltip.click(function() {
     
    105104                $(window).on('click', function(event){
    106105                    if (
    107                         tooltip.data('status') == 'open'
     106                        (tooltip.data('status') == 'open' || tooltip.data('status') == 'opened')
    108107                        &&
    109108                        tooltip.has(event.target).length == 0 //checks if descendants was clicked
Note: See TracChangeset for help on using the changeset viewer.