Permalink
Browse files

Tumblrのアカウント切り替えでhttpsも可能にするTomblooパッチ。

 - エラー対処。
  • Loading branch information...
polygonplanet
polygonplanet committed Apr 1, 2012
1 parent 21368be commit c1edff62d3219be53ccf5e972653105d0d93d272
Showing with 5 additions and 3 deletions.
  1. +5 −3 tombloo.model.tumblr.changeaccount.https.js
@@ -11,7 +11,7 @@
*
* --------------------------------------------------------------------------
*
- * @version 1.04
+ * @version 1.05
* @date 2012-04-01
* @author polygon planet <polygon.planet.aqua@gmail.com>
* - Twitter : http://twitter.com/polygon_planet
@@ -86,8 +86,10 @@ var alphanumSort = (function() {
}
return function(array) {
- array.sort(alphanumCase);
- return array;
+ if (array && array.length >= 2) {
+ array.sort(alphanumCase);
+ }
+ return array;
};
}());

0 comments on commit c1edff6

Please sign in to comment.