Commit 9c56b518 authored by webchick's avatar webchick

Issue #2230955 by brantwynn: Move block.js to correct /js folder.

parent 43de2c72
drupal.block:
version: VERSION
js:
block.js: {}
js/block.js: {}
dependencies:
- core/jquery
- core/drupal
......
......@@ -111,7 +111,9 @@ public function form(array $form, array &$form_state) {
'#type' => 'vertical_tabs',
'#title' => $this->t('Visibility settings'),
'#attached' => array(
'js' => array(drupal_get_path('module', 'block') . '/block.js'),
'library' => array(
'block/drupal.block',
),
),
'#tree' => TRUE,
'#weight' => 10,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment