mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-12-31 19:39:08 +03:00
New: UAParser @cloud
This commit is contained in:
11
js/script.js
11
js/script.js
@@ -143,6 +143,17 @@ $(document)
|
||||
hide: 300
|
||||
}
|
||||
});
|
||||
$(window).on('scroll', function () {
|
||||
if ($('#showcase img').offset().top < $(window).scrollTop() + $(window).height()) {
|
||||
$('#showcase img')
|
||||
.transition({
|
||||
animation : 'jiggle',
|
||||
duration : 1000,
|
||||
interval : 500
|
||||
});
|
||||
$(window).off('scroll');
|
||||
}
|
||||
});
|
||||
|
||||
var clipboard = new ClipboardJS('#btn-clipboard');
|
||||
clipboard.on('success', function(e) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user