IonDen / ion.tabs

jQuery tabs plugin
http://ionden.com/a/plugins/ion.tabs/en.html
83 stars 29 forks source link

ion.tabs not initializing correctly in Chrome #7

Open impetigo opened 9 years ago

impetigo commented 9 years ago

10-15-2015 5-31-15 pm

Noticed the other day there's a small issue with the initialization of the plugin in Chrome.

Instead of the content displaying when the page is first visited, it shows nothing. (See image). I'm using Storage to initialize the object.

Doesn't happen in IE or FireFox. Thoughts?

Here's the init code:

<script type="text/javascript">
$(document).ready(function(){
$.ionTabs("#tabs_1",
{ type: "storage",
onChange: function(obj){
console.log(obj);
}
});
});

</script>
IonDen commented 9 years ago

Tnx for finding this bug.