fix qr quoting

This commit is contained in:
James Campos 2010-12-29 14:15:05 -08:00
parent 53d90828c3
commit 639d417780
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ qrText = (link) ->
selection = window.getSelection()
id = x('preceding::span[@id][1]', selection.anchorNode)?.id
text += selection.toString() if id is link.parentNode.id
text += '>' + selection.toString() if id is link.parentNode.id
text

View File

@ -798,7 +798,7 @@
selection = window.getSelection();
id = (_ref = x('preceding::span[@id][1]', selection.anchorNode)) != null ? _ref.id : void 0;
if (id === link.parentNode.id) {
text += selection.toString();
text += '>' + selection.toString();
}
return text;
};