You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind 335e918b11
Clean up and fix clone button script (#20415)
The button 'primary' class needs to be set in a synchronous script to prevent flicker of the button which was regressed recently, fixed that.

Additionally, reduced the two script tags to just one, the previous scripts were actually initializing the buttons thrice on the empty repo page, now it only initializes once. Finally, removed duplicate code and re-used the inline function in the update code as well.

I had to split out the script into a separate template as on the empty repo page, the script needs access to the clone URL span in the example text, which is rendered below the clone buttons, so buttons and script could not be combined.
2 years ago
..
components Fix default merge style (#20564) 2 years ago
features Clean up and fix clone button script (#20415) 2 years ago
markup Various Mermaid improvements (#18776) 2 years ago
modules Use tippy.js for context popup (#20393) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
testUtils Update JS dependencies (#19675) 2 years ago
bootstrap.js Bypass Firefox (iOS) bug (#20244) 2 years ago
index.js Init popup for new code comment (#20234) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
svg.js Auto merge pull requests when all checks succeeded via WebUI (#19648) 2 years ago
svg.test.js Add copy button to markdown code blocks (#17638) 3 years ago
utils.js Add eslint-plugin-sonarjs (#20431) 2 years ago
utils.test.js Prettify number of issues (#17760) 2 years ago