Skip to content

Commit

Permalink
Merge pull request #10 from cornernote/patch-1
Browse files Browse the repository at this point in the history
remove unused variable
  • Loading branch information
kartik-v committed Jul 6, 2015
2 parents 650dfd6 + 4f283a3 commit 5d418b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sortable.php
Expand Up @@ -129,7 +129,6 @@ protected function hasDisabledItem()
protected function renderItems()
{
$items = '';
$disabled = false;
$handle = ($this->showHandle) ? Html::tag('span', $this->handleLabel, ['class' => 'handle']) : '';
foreach ($this->items as $item) {
$options = ArrayHelper::getValue($item, 'options', []);
Expand Down Expand Up @@ -159,4 +158,4 @@ public function registerAssets()
}
$view->registerJs($js);
}
}
}

0 comments on commit 5d418b8

Please sign in to comment.