Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.postload.js

Issue 6008293193416704: Issue 2080 - Removed duplicated code from clickHide_deactivate (Closed)
Patch Set: Addressed comments Created March 4, 2015, 1:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.postload.js
===================================================================
--- a/include.postload.js
+++ b/include.postload.js
@@ -253,7 +253,7 @@
function clickHide_showDialog(left, top, filters)
{
// If we are already selecting, abort now
- if (clickHide_activated || clickHideFiltersDialog)
+ if (clickHide_activated)
clickHide_rulesPending();
clickHide_filters = filters;
@@ -347,7 +347,8 @@
clickHide_filters = null;
lastRightClickEvent = null;
- if (currentElement) {
+ if (currentElement)
+ {
currentElement.removeEventListener("contextmenu", clickHide_elementClickHandler, true);
unhighlightElements();
unhighlightElement(currentElement);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld