first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
$(document).ready(function () {
|
||||
$('.alert-placeholder').mouseenter(function(){
|
||||
var popOverSettings = {
|
||||
placement: 'bottom',
|
||||
content: $(this).data('content'),
|
||||
trigger: 'hover',
|
||||
container: this,
|
||||
offset: '0'
|
||||
}
|
||||
$(this).popover(popOverSettings);
|
||||
$(this).popover('show');
|
||||
$('.popover').addClass('alert-popover');
|
||||
});
|
||||
$('.alert-placeholder').mouseleave(function(){
|
||||
$('.alert-popover').remove()
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user