summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/newtab/dragDataHelper.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-19 19:44:40 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-19 19:44:40 +0200
commit856d0c991c097eff35ed098a1e30992c0f57165a (patch)
tree03c513abc945a67450e463e099c96b12c2b81769 /application/palemoon/base/content/newtab/dragDataHelper.js
parent2546ae588f7131bf2879af4ed6094a96025f1a27 (diff)
downloadUXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar.gz
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar.lz
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar.xz
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.zip
Issue #517 Part 1: Import newtab page from Basilisk (sans directory service provider module)
Diffstat (limited to 'application/palemoon/base/content/newtab/dragDataHelper.js')
-rw-r--r--application/palemoon/base/content/newtab/dragDataHelper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/newtab/dragDataHelper.js b/application/palemoon/base/content/newtab/dragDataHelper.js
index 54348ab14..675ff2671 100644
--- a/application/palemoon/base/content/newtab/dragDataHelper.js
+++ b/application/palemoon/base/content/newtab/dragDataHelper.js
@@ -11,7 +11,7 @@ var gDragDataHelper = {
getLinkFromDragEvent: function DragDataHelper_getLinkFromDragEvent(aEvent) {
let dt = aEvent.dataTransfer;
- if (!dt || !dt.types.contains(this.mimeType)) {
+ if (!dt || !dt.types.includes(this.mimeType)) {
return null;
}