Skip to content

Commit

Permalink
Reference correct css and javascript bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Nov 15, 2018
1 parent 204ef6d commit 54b7d0f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/StringTagField.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,8 @@ public function setRecord(DataObject $record)
*/
public function Field($properties = [])
{
Requirements::css('silverstripe/tagfield:css/select2.min.css');
Requirements::css('silverstripe/tagfield:css/TagField.css');

Requirements::javascript('silverstripe/tagfield:js/select2.js');
Requirements::javascript('silverstripe/tagfield:js/TagField.js');
Requirements::css('silverstripe/tagfield:client/dist/styles/bundle.css');
Requirements::javascript('silverstripe/tagfield:client/dist/js/bundle.js');

$this->addExtraClass('ss-tag-field');

Expand Down

0 comments on commit 54b7d0f

Please sign in to comment.