summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/newtab/dragDataHelper.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-22 12:55:34 +0200
committerGitHub <noreply@github.com>2018-06-22 12:55:34 +0200
commit4b65237d5d6e6f84a69571435e7b9fa5b36f444f (patch)
tree2e64ef05d542aca638ea2970d620c987d113e2d5 /application/palemoon/base/content/newtab/dragDataHelper.js
parente6f765a27070a6b922742e61d0a14dcc2c18baba (diff)
parent576124e629862cd75769074d572dbf4ee8149945 (diff)
downloadUXP-4b65237d5d6e6f84a69571435e7b9fa5b36f444f.tar
UXP-4b65237d5d6e6f84a69571435e7b9fa5b36f444f.tar.gz
UXP-4b65237d5d6e6f84a69571435e7b9fa5b36f444f.tar.lz
UXP-4b65237d5d6e6f84a69571435e7b9fa5b36f444f.tar.xz
UXP-4b65237d5d6e6f84a69571435e7b9fa5b36f444f.zip
Merge pull request #525 from MoonchildProductions/newtab-page-work
Newtab page work
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;
}