app/assets/javascripts/twitter/bootstrap/tab.js in bootstrap-sass-rails-3.0.0.3 vs app/assets/javascripts/twitter/bootstrap/tab.js in bootstrap-sass-rails-3.0.1.0

- old
+ new

@@ -1,10 +1,10 @@ /* ======================================================================== * Bootstrap: tab.js v3.0.0 - * http://twbs.github.com/bootstrap/javascript.html#tabs + * http://getbootstrap.com/javascript/#tabs * ======================================================================== - * Copyright 2012 Twitter, Inc. + * Copyright 2013 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * @@ -28,10 +28,10 @@ } Tab.prototype.show = function () { var $this = this.element var $ul = $this.closest('ul:not(.dropdown-menu)') - var selector = $this.attr('data-target') + var selector = $this.data('target') if (!selector) { selector = $this.attr('href') selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 }