diff --git a/web/static/js/jquery-getpath.js b/web/static/js/jquery-getpath.js index 6747558..0e4b474 100644 --- a/web/static/js/jquery-getpath.js +++ b/web/static/js/jquery-getpath.js @@ -10,15 +10,9 @@ jQuery.fn.extend({ // Add the element name. var cur = this[0].nodeName.toLowerCase(); - // Determine the IDs and path. - var id = this.attr('id'); + // Determine the path. var cls = this.attr('class'); - - // Add the #id if there is one. - if ( typeof id != 'undefined' ) - cur += '#' + id; - // Add any classes. if ( typeof cls != 'undefined' ) cur += '.' + cls.split(/[\s\n]+/).join('.');