User:Locke/common.js: Difference between revisions

Want an adless experience? Log in or Create an account.
m
more logging
m (add some logging so I know if the script is even running)
m (more logging)
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' ) );
   if ( !$.inArray( e.type, (tabset.data( 'tabTarget' ) || '').split( ' ' ) ) ) {
   if ( !$.inArray( e.type, (tabset.data( 'tabTarget' ) || '').split( ' ' ) ) ) {
console.log( 'dont care' );
     return;
     return;
   }
   }