зеркало из https://github.com/mozilla/gecko-dev.git
fix post-commit comment from gavin
--HG-- extra : rebase_source : dca2dbc66c4fb4230c72158eeeda88b9320d3d00
This commit is contained in:
Родитель
f86dacf8f1
Коммит
a7b25c0ea5
|
@ -155,7 +155,7 @@ nsContextMenu.prototype = {
|
|||
catch (ex) { }
|
||||
|
||||
var onPlainTextLink = false;
|
||||
if (uri && /^(https?|ftp)/i.test(uri.scheme) && uri.host) {
|
||||
if (uri && /^(https?|ftp)$/i.test(uri.scheme) && uri.host) {
|
||||
this.linkURI = uri;
|
||||
this.linkURL = this.linkURI.spec;
|
||||
onPlainTextLink = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче