We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b344d1e commit ed5f225Copy full SHA for ed5f225
1 file changed
index.php
@@ -47,7 +47,7 @@
47
48
window.onbeforeunload = function() {
49
for(var i=1;i<=ICEcoder.savedPoints.length;i++) {
50
- if (ICEcoder.savedPoints[i-1]!=top.ICEcoder.getcMInstance(ICEcoder.cMInstances[i-1]).changeGeneration()) {
+ if (ICEcoder.savedPoints[i-1]!=top.ICEcoder.getcMInstance(i).changeGeneration()) {
51
return "You have some unsaved changes.";
52
}
53
0 commit comments