vendor/assets/javascripts/noty/layouts/centerRight.js in noty-rails-2.0.3.1 vs vendor/assets/javascripts/noty/layouts/centerRight.js in noty-rails-2.1.0

- old
+ new

@@ -1,11 +1,11 @@ ;(function($) { $.noty.layouts.centerRight = { name: 'centerRight', options: { // overrides options - + }, container: { object: '<ul id="noty_centerRight_layout_container" />', selector: 'ul#noty_centerRight_layout_container', style: function() { @@ -28,11 +28,11 @@ var actual_height = dupe.height(); dupe.remove(); if ($(this).hasClass('i-am-new')) { $(this).css({ - top: ($(window).height() - actual_height) / 2 + 'px', + top: ($(window).height() - actual_height) / 2 + 'px' }); } else { $(this).animate({ top: ($(window).height() - actual_height) / 2 + 'px' }, 500); @@ -41,11 +41,11 @@ if (window.innerWidth < 600) { $(this).css({ right: 5 }); } - + } }, parent: { object: '<li />', selector: 'li', @@ -56,6 +56,6 @@ width: '310px' }, addClass: '' }; -})(jQuery); \ No newline at end of file +})(jQuery);