commit ba510dce40cfe3b6f5ebcdbb056a2a7eb413dfb8 Author: Sukhbir Singh sukhbir@torproject.org Date: Sat Mar 19 07:51:59 2016 -0400
Rebase search-context-menu.patch --- projects/instantbird/search-context-menu.patch | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/projects/instantbird/search-context-menu.patch b/projects/instantbird/search-context-menu.patch index 20056c2..a27d323 100644 --- a/projects/instantbird/search-context-menu.patch +++ b/projects/instantbird/search-context-menu.patch @@ -1,12 +1,7 @@ diff --git a/im/content/nsContextMenu.js b/im/content/nsContextMenu.js --- a/im/content/nsContextMenu.js +++ b/im/content/nsContextMenu.js -@@ -462,33 +462,17 @@ nsContextMenu.prototype = { - var selectedText = getBrowserSelection(16); - - if (!selectedText) - return false; - +@@ -468,23 +468,7 @@ if (selectedText.length > 15) selectedText = selectedText.substr(0,15) + this.ellipsis;
@@ -31,8 +26,3 @@ diff --git a/im/content/nsContextMenu.js b/im/content/nsContextMenu.js },
// Returns true if anything is selected. - isContentSelection: function() { - return !document.commandDispatcher.focusedWindow.getSelection().isCollapsed; - } - }; -
tor-commits@lists.torproject.org