focus_watcher 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/focus_watcher.js.coffee +1 -1
- data/lib/focus_watcher/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9456b94c5ac7b51b782847b70f193f11aad3dd99
|
4
|
+
data.tar.gz: 1a7ad0a9d495d91c8fe8ddf1cd39e3a3c0e8f701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32edfa7bfd93b8e2bc04477822067fe15aa225ffd81c53b5ac195e1c5d7cec98062f71e3e09e51c9a97da12fcae9e3037816b66f59f83522f5f39d1d796cab20
|
7
|
+
data.tar.gz: a950c088e5c25747a0e486071556d418af62d635fba855fabcfc2b855dd7514e1a6f54f578ff4949af9dc03760f3d8fa8d558226d27474d331a7812dc05db344
|
@@ -24,7 +24,7 @@ class FocusWatcher
|
|
24
24
|
@focus.current = cleanTarget
|
25
25
|
# Копируем предыдущих предков
|
26
26
|
@focus.previousParents = @focus.currentParents
|
27
|
-
@focus.currentParents = $(@focus.current).parents().toArray()
|
27
|
+
(@focus.currentParents = $(@focus.current).parents().toArray()).unshift(cleanTarget)
|
28
28
|
# Копируем предыдущие контроллируемые элементы
|
29
29
|
@focus.previousObserved = @focus.currentObserved
|
30
30
|
@focus.currentObserved = []
|