Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

makeup-expander

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup-expander - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

8

index.js

@@ -83,4 +83,4 @@ 'use strict'; // requires CustomEvent polyfill for IE

function _onDocumentClick() {
if (this.el.contains(event.target) === false) {
function _onDocumentClick(e) {
if (this.el.contains(e.target) === false) {
this.expanded = false;

@@ -98,7 +98,7 @@ }

function _onDocumentTouchEnd() {
function _onDocumentTouchEnd(e) {
if (this.documentClick === true) {
this.documentClick = false;
if (this.el.contains(event.target) === false) {
if (this.el.contains(e.target) === false) {
this.expanded = false;

@@ -105,0 +105,0 @@ }

{
"name": "makeup-expander",
"version": "0.8.6",
"version": "0.8.7",
"lockfileVersion": 1,

@@ -5,0 +5,0 @@ "requires": true,

{
"name": "makeup-expander",
"description": "Creates the basic interactivity for an element that expands and collapses another element.",
"version": "0.8.6",
"version": "0.8.7",
"main": "index.js",

@@ -6,0 +6,0 @@ "repository": "https://github.com/makeup/makeup-js/tree/master/packages/makeup-expander",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc