Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

 - エラー対処。
  • Loading branch information...
commit c1edff62d3219be53ccf5e972653105d0d93d272 1 parent 21368be
polygonplanet authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 tombloo.model.tumblr.changeaccount.https.js
View
8 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;
};
}());
Please sign in to comment.
Something went wrong with that request. Please try again.