Skip to content

Commenting javasript for links to work both on the home page shield and release shield when mouse click event occurs.

Rohit Lodha requested to merge rtgdk/inkscape-web:rtgdk-patch3 into master

#38 (closed) I have commented the click function in inkscape.js . The only work it does is toggle the class of tabs to expanded and call the selectBanner function. Since the selectBanner will be called whenever we hover the mouse over the tabs, it is not necessary to call it in the click function. And I didn't find any use of toggling the class with expanded. So I commented it out.

Now the link works both in the home page shield and release shield. So the user can now click on the version and the platform he want to download which is not currently working here: https://inkscape.org/en/release/0.92.1/

Also if the expanded class has some important use later which I may have missed please tell me so. I'll think of some other way to make the links work.

Signed-off-by: rtgdk rohit.lodhartg@gmail.com

Merge request reports