Skip to content

Commit 5f1bb36

Browse files
committed
More correct jQuery plugin initialization
1 parent e33054f commit 5f1bb36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detail/DetailView.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ protected function registerAssets()
564564
$options = ['fadeDelay' => $this->fadeDelay];
565565
if ($this->enableEditMode) {
566566
$options['mode'] = $this->mode;
567-
$view->registerJs('$("#' . $this->container['id'] . '").kvDetailView(' . Json::encode($options) . ');');
567+
$view->registerJs('jQuery("#' . $this->container['id'] . '").kvDetailView(' . Json::encode($options) . ');');
568568
}
569569
}
570570

0 commit comments

Comments
 (0)