Dotclear

Changeset 3332:8d816c8da636 for admin/js


Ignore:
Timestamp:
09/01/16 08:26:55 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Prevents changing current URL (hash) on ScrollTop? click

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r3294 r3332  
    604604        }); 
    605605 
    606         $('#gototop').click(function() { 
     606        $('#gototop').click(function(e) { 
    607607            $('body,html').animate({scrollTop:0},800); 
     608            e.preventDefault(); 
    608609        }); 
    609610}); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map