Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Commit bb9ede3

Browse files
author
Sujaykumar Hublikar
committed
Update comment
1 parent dfd4504 commit bb9ede3

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/plugin.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
/*
1+
/**
2+
* @license
3+
*
24
* docsify-plugin-title/plugin.js REL_VER_NUMBER
35
* (https://github.com/Sujaykumarh/docsify-plugin-title/)
46
*
57
* Copyright (c) 2021 Sujaykumar.Hublikar <hello@sujaykumarh.com>
68
* Github (@sujaykumarh)
79
*
8-
* @license
910
* Licensed under Apache License, Version 2.0
1011
*/
1112

@@ -49,15 +50,11 @@ function customPageTitle( hook, vm ) {
4950
}
5051

5152
function debug(msg){
52-
if(customPageTitleOptions.debug){
53-
console.log(msg);
54-
}
53+
if(customPageFooterOptions.debug) console.log(msg);
5554
}
5655

5756
function error(msg){
58-
if(customPageTitleOptions.debug){
59-
console.error(msg);
60-
}
57+
if(customPageFooterOptions.debug) console.error(msg);
6158
}
6259

6360

0 commit comments

Comments
 (0)