Skip to content
Snippets Groups Projects
Commit df36cb1b authored by Konstantinos Platis's avatar Konstantinos Platis
Browse files

Merge version 2.7.7 into master

parents 3cb695a9 fc5e0a79
No related branches found
Tags 2.7.7
1 merge request!99Merge version 2.7.7 into master
......@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.7.7] - 16/12/2020
- Add id attribute in sections that are linked from scrolling menu
## [2.7.6] - 04/12/2020
- Add composer.json file
......
......@@ -2,7 +2,7 @@ name: "CERN Components"
type: module
description: "Provides all the necessary modules regarding CERN Web Components."
core: 8.x
version: 2.7.6
version: 2.7.7
package: CERN Components
dependencies:
- components:components (>=8.x-1.1-alpha1)
......
......@@ -128,6 +128,7 @@
if (jQuery(this).data('title') != undefined && i < 7) {
i++;
jQuery(this).addClass('s' + i);
jQuery(this).attr('id', 's' + i);
jQuery(this).attr('data-navigation', 's' + i);
innerHtml += '<span class="subNavBtn s' + i + '"><a href="#s' + i + '"><span>' + jQuery(this).data('title') + '</span></a></span>'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment