mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Fix jshint errors
This commit is contained in:
parent
50f5e7bf09
commit
16119114dc
@ -545,16 +545,15 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
|
||||
});
|
||||
|
||||
function showPopover(e) {
|
||||
console.log(element);
|
||||
e.stopPropagation();
|
||||
|
||||
var self = $(this);
|
||||
var self = $(element);
|
||||
|
||||
// remove tool-tip
|
||||
try {
|
||||
element.tooltip('hide');
|
||||
}
|
||||
catch(e) {
|
||||
catch(ex) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
@ -585,7 +584,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
|
||||
|
||||
// $(element).one('click', dismissPopover);
|
||||
|
||||
$(this).popover('toggle');
|
||||
$(element).popover('toggle');
|
||||
|
||||
$('.popover').each(function() {
|
||||
$compile($(this))(scope); //make nested directives work!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user