We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ffe196 commit 77b7b1dCopy full SHA for 77b7b1d
1 file changed
src/NuGetGallery/Scripts/gallery/common.js
@@ -468,10 +468,19 @@
468
popoverElement.click(function () {
469
popoverElement.popover('show');
470
setTimeout(function () {
471
- popoverElement.popover('destroy');
+ popoverElement.popover('hide');
472
},
473
2000);
474
});
475
+ popoverElement.keyup(function (event) {
476
+ // normalize keycode for browser compatibility
477
+ var code = event.which || event.keyCode || event.charCode;
478
+
479
+ // This is the keycode for the 'Esc' key
480
+ if (code === 27) {
481
482
+ }
483
+ });
484
};
485
486
window.nuget = nuget;
0 commit comments