aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/forum_fn.js
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-05-31 23:00:07 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-05-31 23:00:07 +0200
commitc000520add375da94d75d24f05ceb34ef0538475 (patch)
tree90b38fee5561c4ba23683dc8019d2d4ac2bedbc8 /phpBB/styles/prosilver/template/forum_fn.js
parent93c310f66b42e2090f3abeaa814aaa487ed8f16a (diff)
parent48679eeff884ce564f7a5ceb7db1b6c64e5dcb67 (diff)
downloadforums-c000520add375da94d75d24f05ceb34ef0538475.tar
forums-c000520add375da94d75d24f05ceb34ef0538475.tar.gz
forums-c000520add375da94d75d24f05ceb34ef0538475.tar.bz2
forums-c000520add375da94d75d24f05ceb34ef0538475.tar.xz
forums-c000520add375da94d75d24f05ceb34ef0538475.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12641] Use jQuery's trim() method. IE8 does not support the native one
Diffstat (limited to 'phpBB/styles/prosilver/template/forum_fn.js')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index a4ede51f4b..52293a8f2a 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -517,7 +517,7 @@ function parse_document(container)
block = $this.find('dt .responsive-show:last-child');
}
else {
- first = (block.text().trim().length == 0);
+ first = ($.trim(block.text()).length == 0);
}
// Copy contents of each column
@@ -570,7 +570,7 @@ function parse_document(container)
block = $this.find('dt .responsive-show:last-child');
}
else {
- first = (block.text().trim().length == 0);
+ first = ($.trim(block.text()).length == 0);
}
// Copy contents of each column
@@ -648,7 +648,7 @@ function parse_document(container)
cells.each(function() {
var cell = $(this),
colspan = parseInt(cell.attr('colspan')),
- text = cell.text().trim();
+ text = $.trim(cell.text());
if (headersLength <= column) {
return;