Pārlūkot izejas kodu

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

Gildas 6 gadi atpakaļ
vecāks
revīzija
d49edc8636
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
 		}