cho45 (owner)

Revisions

gist: 136624 Download_button fork
public
Public Clone URL: git://gist.github.com/136624.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
--- hcpatch.user.js.orig 2009-06-27 02:51:24.000000000 +0900
+++ hcpatch.user.js 2009-06-27 02:51:45.000000000 +0900
@@ -60,6 +60,7 @@
 
  var pair = [];
  for (var i = 0, len = inputs.length; i < len; i++) {
+ if (!inputs[i].name) continue;
  pair.push( encodeURIComponent(inputs[i].name) + '=' + encodeURIComponent(inputs[i].value));
  }