зеркало из https://github.com/mozilla/gecko-dev.git
Bug 513648: Fix mistake in the original patch that implemented middlemouse-paste whitespace stripping
This commit is contained in:
Родитель
a9bc761c96
Коммит
7fbf2421e2
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче