We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a862430 commit baef73bCopy full SHA for baef73b
lib/js/interface/top.js
@@ -308,11 +308,17 @@ angular.module(moduleName, [])
308
};
309
310
this.activeClickedLink = activeLink => {
311
+ if ((activeLink === '1' || activeLink === '4') &&
312
+ this.activeLink === activeLink) {
313
+ //toggle prompts show/hide
314
+ this.activeLink = false;
315
+ } else {
316
- this.activeLink = activeLink;
- $rootScope.$emit('top-bar:active-link', {
- 'link': activeLink
- });
317
+ this.activeLink = activeLink;
318
+ $rootScope.$emit('top-bar:active-link', {
319
+ 'link': activeLink
320
+ });
321
+ }
322
323
324
//show if new npm version is available in view
0 commit comments