Commit fb4385d0 authored by vagelis-prokopiou's avatar vagelis-prokopiou Committed by NickWilde

Fix: Issue #2833720 by Vagelis, NickWilde: 'Javascript' should be 'JavaScript'

parent 74a05941
......@@ -10,7 +10,7 @@
(function ($) {
// Since Drupal 7 doesn't support having a field based on one of 3 values of
// a select box we need to add our own javascript handling.
// a select box we need to add our own JavaScript handling.
Drupal.behaviors.viewsSlideshowCycleAmountAllowedVisible = {
attach: function (context) {
......
......@@ -179,7 +179,7 @@ function template_preprocess_views_slideshow_pager_widget_render(&$vars) {
return '';
}
// Add javascript settings for the pager type.
// Add JavaScript settings for the pager type.
$vars['#attached']['library'][] = 'views_slideshow/widget_info';
$vars['#attached']['drupalSettings']['viewsSlideshowPager'][$vars['vss_id']] = [
$vars['location'] => [
......@@ -207,7 +207,7 @@ function template_preprocess_views_slideshow_pager_widget_render(&$vars) {
* Theme pager fields.
*/
function template_preprocess_views_slideshow_pager_fields(&$vars) {
// Add javascript settings for the field.
// Add JavaScript settings for the field.
$vars['#attached']['library'][] = 'views_slideshow/widget_info';
$vars['#attached']['drupalSettings']['viewsSlideshowPagerFields'][$vars['vss_id']] = [
$vars['location'] => [
......@@ -276,7 +276,7 @@ function template_preprocess_views_slideshow_pager_field_item(&$vars) {
* @ingroup themeable
*/
function template_preprocess_views_slideshow_controls_widget_render(&$vars) {
// Add javascript settings for the controls type.
// Add JavaScript settings for the controls type.
$vars['#attached']['library'][] = 'views_slideshow/widget_info';
$vars['#attached']['drupalSettings']['viewsSlideshowControls'][$vars['vss_id']] = [
$vars['location'] => [
......
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