|
|
@@ -689,21 +689,10 @@ function umowaZysk_click(n) {
|
|
|
n.data('tip-visible', true);
|
|
|
} else {
|
|
|
n.data('tip-visible', false);
|
|
|
+ n.popover('destroy');
|
|
|
}
|
|
|
- n.popover('destroy');
|
|
|
-
|
|
|
|
|
|
if (!visible) {
|
|
|
- var tip = {
|
|
|
- placement: 'left',
|
|
|
- html: true,
|
|
|
- trigger: 'manual',
|
|
|
- title: 'Zysk',
|
|
|
- content: 'loading...'
|
|
|
- };
|
|
|
- n.popover(tip);
|
|
|
- n.popover('show');
|
|
|
-
|
|
|
umowaZysk_load(n);
|
|
|
}
|
|
|
return false;
|
|
|
@@ -716,7 +705,6 @@ function umowaZysk_loadResult(n, result) {
|
|
|
}
|
|
|
|
|
|
n.data('tip-visible', true);
|
|
|
- n.popover('destroy');
|
|
|
var tip = {
|
|
|
placement: 'left',
|
|
|
html: true,
|
|
|
@@ -724,8 +712,8 @@ function umowaZysk_loadResult(n, result) {
|
|
|
title: 'Zysk',
|
|
|
content: content
|
|
|
};
|
|
|
- $(n).popover(tip);
|
|
|
- $(n).popover('show');
|
|
|
+ n.popover(tip);
|
|
|
+ n.popover('show');
|
|
|
}
|
|
|
|
|
|
function umowaZysk_load(n) {
|