Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(910)

Unified Diff: chrome/common/extensions/docs/static/js/fatnav.js

Issue 138213007: Fixes for two JS bugs on DCC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/js/fatnav.js
diff --git a/chrome/common/extensions/docs/static/js/fatnav.js b/chrome/common/extensions/docs/static/js/fatnav.js
index 011013fd2568afe9d12077c27a2639d70dfe34c4..d70fc58f2b7e901a9f3cb761b50898de319d74c6 100644
--- a/chrome/common/extensions/docs/static/js/fatnav.js
+++ b/chrome/common/extensions/docs/static/js/fatnav.js
@@ -39,19 +39,6 @@ var pillars = document.querySelectorAll('.pillar');
this.classList.add('active');
}
});
-
- pillar.addEventListener('mouseleave', function(e) {
- if (!e.target.classList.contains('pillar') ||
- e.toElement.classList.contains('expandee')) {
- return;
- }
-
- if (e.toElement != fatNav && !e.toElement.classList.contains('pillar') &&
- e.toElement != search) {
- hideActive(fatNav);
- }
- });
-
});
if (isLargerThanPhone) {

Powered by Google App Engine
This is Rietveld 408576698