1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 15:15:46 +01:00

Update curl plugin.

This commit is contained in:
Kris Maglione
2015-12-30 15:56:42 -08:00
parent e16a993e99
commit 31c6df0257
4 changed files with 33 additions and 14 deletions

View File

@@ -548,7 +548,7 @@ var DOM = Class("DOM", {
let charset = doc.characterSet;
let converter = services.CharsetConv(charset);
for (let cs of form.acceptCharset.split(/\s*,\s*|\s+/)) {
let c = services.CharsetConv(cs);
let c = cs && services.CharsetConv(cs);
if (c) {
converter = services.CharsetConv(cs);
charset = cs;