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