Skip to content

Commit

Permalink
force linenumbercount on load
Browse files Browse the repository at this point in the history
  • Loading branch information
calumk committed Jan 28, 2024
1 parent a57011a commit 9e1409b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/codecup.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
}

#cf_holder{

overflow: hidden;
border : 1px solid #EAEEFB;
border-radius: 4px;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calumk/codecup",
"version": "1.9.0",
"version": "1.9.1",
"description": "A micro code-editor for awesome web pages",
"main": "dist/codecup.bundle.js",
"files": [
Expand Down
2 changes: 2 additions & 0 deletions src/codecup.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ export default class codecup {
this.createCopyButton()
}

this.updateLineNumbersCount();

}

updateLineNumbersCount () {
Expand Down

0 comments on commit 9e1409b

Please sign in to comment.