posts/show: don't scroll page when opening edit dialog.
Don't scroll up the page when opening the tag edit dialog via shift+e. Fixes regression in #3812.
This commit is contained in:
@@ -83,7 +83,6 @@ Post.initialize_gestures = function() {
|
||||
|
||||
Post.initialize_edit_dialog = function() {
|
||||
$("#open-edit-dialog").button().show().click(function(e) {
|
||||
$(window).scrollTop($("#image").offset().top);
|
||||
Post.open_edit_dialog();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user