зеркало из https://github.com/mozilla/codemoji.git
fix nano scroller loader
This commit is contained in:
Родитель
adf6d1019e
Коммит
01872dcd31
|
@ -75,10 +75,6 @@
|
||||||
} else {
|
} else {
|
||||||
$('[show-on-first-visit-only]').hide()
|
$('[show-on-first-visit-only]').hide()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Cryptoloji.mq.matches) {
|
|
||||||
$(".nano").nanoScroller()
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
})(window, window.Cryptoloji, jQuery);
|
})(window, window.Cryptoloji, jQuery);
|
||||||
|
|
|
@ -339,7 +339,10 @@
|
||||||
TweenLite.to($('.'+state+' .main_keyslider'), 0.5, {delay: 0, width: "35%"})
|
TweenLite.to($('.'+state+' .main_keyslider'), 0.5, {delay: 0, width: "35%"})
|
||||||
TweenLite.to($('.'+state+' .encryption_help_button > svg'), 1, {delay: 2, opacity: 1, y:0, ease:Expo.easeInOut})
|
TweenLite.to($('.'+state+' .encryption_help_button > svg'), 1, {delay: 2, opacity: 1, y:0, ease:Expo.easeInOut})
|
||||||
// emoji in keyslider
|
// emoji in keyslider
|
||||||
TweenLite.to($('.'+state+' .main_keyslider .main_key_panel_emoji_wrapper'), .5, {delay: 1, opacity: "1"})
|
// then load nano scroller
|
||||||
|
TweenLite.to($('.'+state+' .main_keyslider .main_key_panel_emoji_wrapper'), .5, {delay: 1, opacity: "1", onComplete: function(){
|
||||||
|
$(".nano").nanoScroller()
|
||||||
|
}})
|
||||||
// lable keyslider
|
// lable keyslider
|
||||||
TweenLite.to($('.'+state+' .main_keyslider .main_keyslider_bottom_label'), .5, {delay: 1.5, opacity: ".5"})
|
TweenLite.to($('.'+state+' .main_keyslider .main_keyslider_bottom_label'), .5, {delay: 1.5, opacity: ".5"})
|
||||||
//placeholder left
|
//placeholder left
|
||||||
|
|
Загрузка…
Ссылка в новой задаче