summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/playlist.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/playlist.html')
-rw-r--r--chrome/browser/resources/playlist.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/resources/playlist.html b/chrome/browser/resources/playlist.html
index 52aa594..598844c 100644
--- a/chrome/browser/resources/playlist.html
+++ b/chrome/browser/resources/playlist.html
@@ -76,6 +76,12 @@ function pathIsAudioFile(path) {
var currentPlaylist = null;
var currentOffset = -1;
function load() {
+ document.body.addEventListener('dragover', function(e) {
+ if (e.preventDefault) e.preventDefault();
+ });
+ document.body.addEventListener('drop', function(e) {
+ if (e.preventDefault) e.preventDefault();
+ });
chrome.send("getCurrentPlaylist", []);
};