Skip to content

Commit

Permalink
Add JSDoc to Icinga.Events.prototype.handleAnchor()
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Mar 12, 2015
1 parent b74ef25 commit 77b9955
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/js/icinga/events.js
Expand Up @@ -356,6 +356,11 @@
return false;
},

/**
* Handle anchor, i.e. focus the element which is referenced by the anchor
*
* @param {string} query jQuery selector
*/
handleAnchor: function(query) {
var $element = $(query);
if ($element.length > 0) {
Expand Down

0 comments on commit 77b9955

Please sign in to comment.