* Checks if the target from the close has the given class * * @param {string} className Class name * @returns {boolean} Returns true if the target has the class name
(className)
| 922 | * @returns {boolean} Returns true if the target has the class name |
| 923 | */ |
| 924 | function isTarget(className) { |
| 925 | return $(target).hasClass(className) || $(parent).hasClass(className) |
| 926 | } |
| 927 | if (isTarget(options.toggleClass)) { |
| 928 | // Click on "toggle" control |
| 929 | this.preventDefault(event) |
no outgoing calls
no test coverage detected
searching dependent graphs…