mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-03-22 02:48:15 +00:00
refactor: correct typos in comments and identifiers (#2681)
- Rename `loadTooptip` to `loadTooltip` in tooltip-loader.js, components.js, and basic.js - Fix grammar: "This script make" → "This script makes" in search-display.js - Fix "HomgPage" → "HomePage" in post-paginator.html - Fix "CND URL" → "CDN URL" in media-url.html - Fix "locale-dateime.js" → "locale-datetime.js" in datetime.html - Fix "LaTex" → "LaTeX" in language-alias.html - Fix "exist <a> tag" → "existing <a> tag" in refactor-content.html - Fix "Archvies" → "Archives" in _archives.scss - Fix "underlinke" → "underline" in _syntax.scss
This commit is contained in:
@@ -7,4 +7,4 @@ export { initToc } from './components/toc';
|
||||
export { loadMermaid } from './components/mermaid';
|
||||
export { modeWatcher } from './components/mode-toggle';
|
||||
export { back2top } from './components/back-to-top';
|
||||
export { loadTooptip } from './components/tooltip-loader';
|
||||
export { loadTooltip } from './components/tooltip-loader';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* This script make #search-result-wrapper switch to unload or shown automatically.
|
||||
* This script makes #search-result-wrapper switch to unload or shown automatically.
|
||||
*/
|
||||
|
||||
const btnSbTrigger = document.getElementById('sidebar-trigger');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import Tooltip from 'bootstrap/js/src/tooltip';
|
||||
|
||||
export function loadTooptip() {
|
||||
export function loadTooltip() {
|
||||
const tooltipTriggerList = document.querySelectorAll(
|
||||
'[data-bs-toggle="tooltip"]'
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { back2top, loadTooptip, modeWatcher } from '../components';
|
||||
import { back2top, loadTooltip, modeWatcher } from '../components';
|
||||
|
||||
export function basic() {
|
||||
modeWatcher();
|
||||
back2top();
|
||||
loadTooptip();
|
||||
loadTooltip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user