Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var userAgent = navigator.userAgent.toLowerCase();
- if(userAgent.match(/firefox/)) {
- $( '#'+elm_id ).bind( "sortstart", function (event, ui) {
- ui.helper.css('margin-top', $(window).scrollTop() );
- });
- $( '#'+elm_id ).bind( "sortbeforestop", function (event, ui) {
- ui.helper.css('margin-top', 0 );
- });
- }
Add Comment
Please, Sign In to add comment