Explorar o código

added "onunload" to the list of event handlers to remove

Former-commit-id: d49edc863607bdbb157dc99a395dfc753445348f
Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
33cb22c59d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/single-file/single-file-core.js

+ 1 - 0
lib/single-file/single-file-core.js

@@ -1843,6 +1843,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 					attributeNames.push(propertyName);
 				}
 			}
+			attributeNames.push("onunload");
 			return attributeNames;
 		}