mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 15:35:45 +01:00
Death to for each.
This commit is contained in:
@@ -474,7 +474,7 @@ var DOM = Class("DOM", {
|
||||
|
||||
let charset = doc.characterSet;
|
||||
let converter = services.CharsetConv(charset);
|
||||
for each (let cs in form.acceptCharset.split(/\s*,\s*|\s+/)) {
|
||||
for (let cs of form.acceptCharset.split(/\s*,\s*|\s+/)) {
|
||||
let c = services.CharsetConv(cs);
|
||||
if (c) {
|
||||
converter = services.CharsetConv(cs);
|
||||
|
||||
Reference in New Issue
Block a user