mirror of
https://github.com/pinry/pinry.git
synced 2026-05-07 17:05:48 +02:00
Scroll bookmarklet to the top
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* scripts make use of helpers.js. In the future i want to remove
|
* scripts make use of helpers.js. In the future i want to remove
|
||||||
* all dependencies on jQuery.
|
* all dependencies on jQuery.
|
||||||
* Authors: Pinry Contributors
|
* Authors: Pinry Contributors
|
||||||
* Updated: Mar 3rd, 2013
|
* Updated: Mar 4th, 2013
|
||||||
* Require: None (dynamically loads jQuery if needed)
|
* Require: None (dynamically loads jQuery if needed)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -72,6 +72,7 @@ $(document).ready(function() {
|
|||||||
$('body').append(pinryImages);
|
$('body').append(pinryImages);
|
||||||
$('#pinry-images').append(pinryBar);
|
$('#pinry-images').append(pinryBar);
|
||||||
$('#pinry-bar').html('Pinry Bookmarklet');
|
$('#pinry-bar').html('Pinry Bookmarklet');
|
||||||
|
$(window).scrollTop(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function imageView(imageUrl) {
|
function imageView(imageUrl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user