User:Locke/common.js: Difference between revisions

Want an adless experience? Log in or Create an account.
more logging, and fixed an attribute name
m (more logging)
(more logging, and fixed an attribute name)
Line 39: Line 39:


   // first check if we care about this event
   // first check if we care about this event
console.log( e.type, tabset.data( 'tabTarget' ) );
console.log( e.type );
   if ( !$.inArray( e.type, (tabset.data( 'tabTarget' ) || '').split( ' ' ) ) ) {
console.log( tabset.data( 'tabType' ) );
console.log( (tabset.data( 'tabType' ) || '').split( ' ' ) );
   if ( !$.inArray( e.type, (tabset.data( 'tabType' ) || '').split( ' ' ) ) ) {
console.log( 'dont care' );
console.log( 'dont care' );
     return;
     return;