-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3454ba4
commit cea0e23
Showing
5 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"ui", | ||
"widget" | ||
], | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"author": { | ||
"name": "Jelle Kralt", | ||
"email": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Project: jquery.responsiveTabs.js | ||
* Description: A plugin that creates responsive tabs, optimized for all devices | ||
* Author: Jelle Kralt ([email protected]) | ||
* Version: 1.4.2 | ||
* Version: 1.4.3 | ||
* License: MIT | ||
*/ | ||
|
||
|
@@ -222,16 +222,12 @@ | |
// Check if hash has to be set in the URL location | ||
if(_this.options.setHash) { | ||
// Set the hash using the history api if available to tackle Chromes repaint bug on hash change | ||
if(history.pushState) { | ||
|
||
if(history.pushState) { | ||
history.pushState(null, null, activatedTab.selector); | ||
|
||
} else { | ||
|
||
// Otherwise fallback to the hash update for sites that don't support the history api | ||
window.location.hash = activatedTab.selector; | ||
|
||
} | ||
} | ||
} | ||
|
||
e.data.tab._ignoreHashChange = true; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "responsive-tabs", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"author": "Jelle Kralt <[email protected]>", | ||
"description": "jQuery plugin that provides responsive tab functionality. The tabs transform to an accordion when it reaches a CSS breakpoint.", | ||
"contributors": [ | ||
|