Commits

Christoffer Niska committed d19d604 Merge

merged MetalGuardian's changes (pull request #17)

  • Participants
  • Parent commits b381bfc, 81a53e2
  • Branches 1.0.0-wip

Comments (0)

Files changed (1)

widgets/BootTabbable.php

         {
             $fn = CJavaScript::encode($this->events['show']);
 	        $cs->registerScript(__CLASS__.'#'.$id.'.show',
-	                "jQuery('#{$id} a[data-toggle=\"tab\"').on('show', {$fn});");
+	                "jQuery('#{$id} a[data-toggle=\"tab\"]').on('show', {$fn});");
         }
 
         // Register the "shown" event-handler.
         {
             $fn = CJavaScript::encode($this->events['shown']);
 	        $cs->registerScript(__CLASS__.'#'.$id.'.shown',
-	                "jQuery('#{$id} a[data-toggle=\"tab\"').on('shown', {$fn});");
+	                "jQuery('#{$id} a[data-toggle=\"tab\"]').on('shown', {$fn});");
         }
     }