Browse Source

Update token.js

pull/183/head
Ilya Kantor 10 years ago
parent
commit
66c44dc4d5
  1. 2
      lib/token.js

2
lib/token.js

@ -157,7 +157,7 @@ Token.prototype.attrReplace = function attrReplace(name, value) {
var attrs = this.attrs;
if (attrs) {
// modify the existing attr is possible
// modify the existing attr if possible
for (var i = 0; i < attrs.length; i++) {
if (attrs[i][0] === name) {
if (!found) {

Loading…
Cancel
Save