Skip to content

Commit

Permalink
Remove extra new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
vkeranov committed Oct 27, 2012
1 parent 94b1f76 commit bfbe8b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions system/libraries/javascript/Jquery.php
Expand Up @@ -700,7 +700,6 @@ protected function _updater($container = 'this', $controller, $options = '')
return $updater."\t\t$($container).load('$controller'$request_options);";
}


// --------------------------------------------------------------------
// Pre-written handy stuff
// --------------------------------------------------------------------
Expand All @@ -716,7 +715,7 @@ protected function _updater($container = 'this', $controller, $options = '')
protected function _zebraTables($class = '', $odd = 'odd', $hover = '')
{
$class = ($class !== '') ? '.'.$class : '';
$zebra = "\t\$(\"table{$class} tbody tr:nth-child(even)\").addClass(\"{$odd}\");";
$zebra = "\t\$(\"table{$class} tbody tr:nth-child(even)\").addClass(\"{$odd}\");";

$this->jquery_code_for_compile[] = $zebra;

Expand Down

0 comments on commit bfbe8b2

Please sign in to comment.