projects
/
Portfolio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Désactivation du dragover si rien n'est sélectionné : se produit lors d'un upload...
[Portfolio.git]
/
skins
/
photo_lightbox_viewer.js
diff --git
a/skins/photo_lightbox_viewer.js
b/skins/photo_lightbox_viewer.js
index
3438151
..
024e01e
100644
(file)
--- a/
skins/photo_lightbox_viewer.js
+++ b/
skins/photo_lightbox_viewer.js
@@
-481,6
+481,9
@@
Lightbox.prototype.onDragStart = function(evt) {
};
Lightbox.prototype.onDragOver = function(evt) {
+ if (!this.dragged) {
+ return;
+ }
var target = getTargetedObject(evt);
while(target && target.className !== 'slide') {
target = target.parentNode;