Permalink
Browse files

Actually, lets prefix our custom Debug Bar IDs with "puc" to be compl…

…etely sure we'll avoid name collisions.
  • Loading branch information...
1 parent 5a3c214 commit ae084bd3be802a5e5461b7158309806a8edd3035 @YahnisElsts committed Oct 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/debug-bar.js
View
4 js/debug-bar.js
@@ -41,12 +41,12 @@ jQuery(function($) {
var target = panel.closest('.debug-menu-target');
//Change the panel wrapper ID.
- target.attr('id', 'debug-menu-target-' + slug);
+ target.attr('id', 'debug-menu-target-puc-' + slug);
//Change the menu link ID as well and point it at the new target ID.
$('#puc-debug-menu-link-' + panel.data('slug'))
.closest('.debug-menu-link')
- .attr('id', 'debug-menu-link-' + slug)
+ .attr('id', 'debug-menu-link-puc-' + slug)
.attr('href', '#' + target.attr('id'));
});
});

0 comments on commit ae084bd

Please sign in to comment.