fooltip 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b357c74e49ff09760c906792754edcf2e1b7b73
|
4
|
+
data.tar.gz: dfda46b22893c97597e2b5ce7fdcb435b888a649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b507e4a52ff693d5b3dfda834f7eec548b0fc6f3fbd4c87f0c71c81d20dca2364a55a80a758653a399a90ee054008ccfbaee95ad567c540c73db0f5d4abcbd4b
|
7
|
+
data.tar.gz: 6f477d509918083d304ac9cb33d9d29449b95f730df552cc93782e529da42affdeb62c8bac7f76c7fe1c53f97a345f1dcf3d2d7713ed3a69e1f844de3820d180
|
Binary file
|
@@ -36,11 +36,25 @@ $(document).ready(function() {
|
|
36
36
|
|
37
37
|
$('.fooltip-link').popover();
|
38
38
|
|
39
|
+
$('.fooltip-link').live('click', function() {
|
40
|
+
$('.fooltip-link').not(this).popover('hide');
|
41
|
+
});
|
42
|
+
|
39
43
|
$('.popover .close').live('click', function() {
|
40
44
|
id = $(this).closest('.popover').find('.fooltip-popup').attr('data-fooltip-link-id');
|
45
|
+
$('.popover').hide();
|
41
46
|
$('#' + id).popover('hide');
|
42
47
|
});
|
43
48
|
|
49
|
+
$(document).mouseup(function (e) {
|
50
|
+
var container = $(".fooltip-link-container");
|
51
|
+
if (!container.is(e.target) // if the target of the click isn't the container...
|
52
|
+
&& container.has(e.target).length === 0) // ... nor a descendant of the container
|
53
|
+
{
|
54
|
+
$('.popover').hide();
|
55
|
+
$('.fooltip-link').popover('hide');
|
56
|
+
}
|
57
|
+
});
|
44
58
|
|
45
59
|
$(window).smartresize(function() {
|
46
60
|
$('.fooltip').resize();
|
data/lib/fooltip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fooltip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Intesys S.r.l.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- README.rdoc
|
141
141
|
- Rakefile
|
142
142
|
- app/assets/images/fooltip/link.png
|
143
|
+
- app/assets/images/fooltip/link_highlight.png
|
143
144
|
- app/assets/javascripts/fooltip/application.js
|
144
145
|
- app/assets/javascripts/fooltip/containers.js
|
145
146
|
- app/assets/stylesheets/fooltip/application.css.sass
|