urb 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/app/assets/javascripts/urb/urb.js.erb +2 -2
- data/lib/urb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODcwMjA0ZDUyNGNhOTgzNDE4YjhkMTVlMTM0MzE0M2EyYjE0YWMwZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjZkNDRkZDY0M2Q3ZmMyYTI3OTVkYzgzMmUyY2UzZWI3ODQ4MTYxNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDg5MzgzYjhhNTMyMGQ5ZGY4OWIzYTNiZWE4MmE4NDI4OGY2NGRiYTU5YjY0
|
10
|
+
YTkyNTk1MzNhOWJkMDlhM2ZlZjVmZDRkNWM0YTdhMGJhYzc4YTc1OWViNjM0
|
11
|
+
NDNiYWQzNDM1NmU1YjRiZjMwYWEzNjBmMjRhY2ZmZWM1ZjliYzU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjFlNDMwY2NkMTFiNjcwZTQwMmY2ZmYwMTRmNDI0YjI0ZTk4MGY1YTRhNjA0
|
14
|
+
NTkyYmNmOGYzZTQyNjMxNjUzYThkZDMzOGRiZTkwMTE3YTdlYmU1Yzg2M2Nl
|
15
|
+
ZDgwZjU5ZTM4NzRlMGU0NThhMmYxMDdlMThiOTViMGU0ZjhlMzc=
|
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
@@ -24,8 +24,8 @@ URB = (function() {
|
|
24
24
|
init = function() {
|
25
25
|
$.on(document, 'click', function(event) {
|
26
26
|
var target = event.target || event.srcElement || window.event.target || window.event.srcElement, css = URB.css || '', leftClick = (event.which || event.button) == 1, href = target.getAttribute('href');
|
27
|
-
if (leftClick
|
28
|
-
if (target.tagName.toLowerCase() == 'a' && ((css == '') || $.hasClass(target, css))) {
|
27
|
+
if (leftClick) {
|
28
|
+
if (target.tagName.toLowerCase() == 'a' && ((css == '') || $.hasClass(target, css)) && !href.match(/#/)) {
|
29
29
|
event.preventDefault();
|
30
30
|
open(target.getAttribute('href'), ((event.ctrlKey || event.metaKey) ? '_blank' : undefined));
|
31
31
|
}
|
data/lib/urb/version.rb
CHANGED