[html5] r5775 - [e] (0) example typo Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11100
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jan 11 13:12:31 PST 2011
Author: ianh
Date: 2011-01-11 13:12:30 -0800 (Tue, 11 Jan 2011)
New Revision: 5775
Modified:
complete.html
index
source
Log:
[e] (0) example typo
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11100
Modified: complete.html
===================================================================
--- complete.html 2011-01-11 20:56:50 UTC (rev 5774)
+++ complete.html 2011-01-11 21:12:30 UTC (rev 5775)
@@ -67450,7 +67450,7 @@
if (event.target instanceof HTMLLIElement) {
// use the element's data-value="" attribute as the value to be moving:
event.dataTransfer.setData(internalDNDType, event.target.dataset.value);
- event.effectAllowed = 'move'; // only allow moves
+ event.dataTransfer.effectAllowed = 'move'; // only allow moves
} else {
event.preventDefault(); // don't allow selection to be dragged
}
Modified: index
===================================================================
--- index 2011-01-11 20:56:50 UTC (rev 5774)
+++ index 2011-01-11 21:12:30 UTC (rev 5775)
@@ -67458,7 +67458,7 @@
if (event.target instanceof HTMLLIElement) {
// use the element's data-value="" attribute as the value to be moving:
event.dataTransfer.setData(internalDNDType, event.target.dataset.value);
- event.effectAllowed = 'move'; // only allow moves
+ event.dataTransfer.effectAllowed = 'move'; // only allow moves
} else {
event.preventDefault(); // don't allow selection to be dragged
}
Modified: source
===================================================================
--- source 2011-01-11 20:56:50 UTC (rev 5774)
+++ source 2011-01-11 21:12:30 UTC (rev 5775)
@@ -76841,7 +76841,7 @@
if (event.target instanceof HTMLLIElement) {
// use the element's data-value="" attribute as the value to be moving:
event.dataTransfer.setData(internalDNDType, event.target.dataset.value);
- event.effectAllowed = 'move'; // only allow moves
+ event.dataTransfer.effectAllowed = 'move'; // only allow moves
} else {
event.preventDefault(); // don't allow selection to be dragged
}
More information about the Commit-Watchers
mailing list