Skip to content

Commit

Permalink
Remove duplicate piece of template logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Aug 14, 2023
1 parent 41dc788 commit 82b1f1f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions themes/bootstrap3/templates/search/results-scripts.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,3 @@ if ($this->jsResults ?? false) {
// page has one:
$this->headScript()->appendFile('openurl.js');
}
// Load only if list view parameter is NOT full:
if (($this->listViewOption ?? 'full') !== 'full') {
$this->headScript()->appendFile('record.js');
$this->headScript()->appendFile('embedded_record.js');
}

0 comments on commit 82b1f1f

Please sign in to comment.