Skip to content

Instantly share code, notes, and snippets.

@smallstyle
Created March 1, 2012 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smallstyle/1949167 to your computer and use it in GitHub Desktop.
Save smallstyle/1949167 to your computer and use it in GitHub Desktop.
tDiary: picasa.jsで写真の表示を最新のものから表示する
diff --git a/js/picasa.js b/js/picasa.js
index 378849f..dcabbaf 100644
--- a/js/picasa.js
+++ b/js/picasa.js
@@ -149,7 +149,7 @@ $(function () {
service.getPhotos(album.gphoto$id.$t, function (photos) {
$(loading.canvas).hide();
loading.stop();
- $.each(photos, function (j, photo) {
+ $.each(photos.reverse(), function (j, photo) {
$('<img>').click(function () {
$('#body').insertAtCaret($.makePluginTag('picasa', [phot
}).attr({
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment