Socket
Socket
Sign inDemoInstall

c2s-ngx-dnd

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.14 to 1.2.15

14

directives/dnd-list.js

@@ -43,2 +43,7 @@ import { Directive, Input, Output, ElementRef, HostListener, EventEmitter } from '@angular/core';

};
DndList.prototype.currentTarget = '';
DndList.prototype.lastTarget = '';
DndList.prototype.handleDragOver = function (event) {

@@ -50,2 +55,10 @@ event.stopPropagation();

event = event['originalEvent'] || event;
var currentTarget = event.target.innerText;
if(!!currentTarget || currentTarget === this.lastTarget) {
return true;
}
this.lastTarget = currentTarget;
var mimeType = this.getMimeType(event.dataTransfer.types);

@@ -99,2 +112,3 @@ var itemType = this.getItemType(mimeType);

return false;

@@ -101,0 +115,0 @@ };

2

package.json

@@ -53,3 +53,3 @@ {

},
"version": "1.2.14"
"version": "1.2.15"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc