Bug 513648: Fix mistake in the original patch that implemented middlemouse-paste whitespace stripping

This commit is contained in:
Gavin Sharp 2011-04-16 21:17:17 -04:00
Родитель a9bc761c96
Коммит 7fbf2421e2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5559,7 +5559,7 @@ function middleMousePaste(event) {
// Strip embedded newlines and surrounding whitespace, to match the URL
// bar's behavior (stripsurroundingwhitespace)
clipboard.replace(/\s*\n\s*/g, "");
clipboard = clipboard.replace(/\s*\n\s*/g, "");
let url = getShortcutOrURI(clipboard);
try {