From e30be32111212c45c7fe084848cb590ee5f4e9c6 Mon Sep 17 00:00:00 2001 From: "Chee@CMONOS" Date: Mon, 12 Dec 2011 01:08:04 +0900 Subject: [PATCH] Update taketori.js --- taketori.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/taketori.js b/taketori.js index a7618fe..9b5220d 100644 --- a/taketori.js +++ b/taketori.js @@ -1,9 +1,9 @@ /* Taketori - Make Text Vertical * Copyright 2010-2011 CMONOS. Co,Ltd (http://cmonos.jp) * - * Version: 1.2.7 + * Version: 1.2.8 * Lisence: MIT Lisence - * Last-Modified: 2011-12-09 + * Last-Modified: 2011-12-11 */ @@ -557,7 +557,7 @@ Taketori.prototype = { } else if (style.backgroundPosition && style.backgroundPosition.search(/(\S+)\s+(\S)/) != -1) { temp.style.backgroundPosition = RegExp.$2 + ' ' + RegExp.$1 + ';'; } - if (isBlock || !cssTextOnly || !this.isMSIE || this.isMSIE != 8) { + if (isBlock || !cssTextOnly || !this.isMSIE || this.isMSIE < 8) { temp.style.marginTop = style.marginLeft || 0; temp.style.marginRight = style.marginTop || 0; temp.style.marginBottom = style.marginRight || 0;