Permalink
Browse files

Using .textContent instead of .innerText, fixes #283.

  • Loading branch information...
1 parent 453ebf5 commit 14207fcda5afdd0e95162d9c7828e3ee0808e8e1 @bfontaine bfontaine committed Feb 3, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 views/static/scripts/tabs.js
@@ -15,8 +15,10 @@ $(function(){
$tabs.each(function(i, e) {
- $(e).data( 'ct', $tb_contents.eq(i) )
- .data( 'title', e.innerText.toLocaleUpperCase() );
+ $(e).data({
+ ct: $tb_contents.eq(i),
+ title: e.textContent.toLocaleUpperCase()
+ });
}).click(function() {
var $this = $(this),

0 comments on commit 14207fc

Please sign in to comment.