Skip to content

Commit

Permalink
fix: invalid html element on console (#318)
Browse files Browse the repository at this point in the history
* fix: invalid html element on console

* Update docs

* Update docs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: daron1337 <[email protected]>
  • Loading branch information
3 people authored Mar 21, 2024
1 parent 05b20ec commit 7438393
Show file tree
Hide file tree
Showing 8 changed files with 373 additions and 373 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

## Dicom Image Toolkit for CornerstoneJS

### Current version: 2.4.16
### Current version: 2.4.17

### Latest Published Release: 2.4.16
### Latest Published Release: 2.4.17

This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.

Expand Down
2 changes: 1 addition & 1 deletion dist/larvitar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/larvitar.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ <h3> </h3>
<h1 id="larvitar">Larvitar</h1>
<p><a href="https://github.com/dvisionlab/Larvitar"><img src="https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&amp;prefix=%E2%89%A5&amp;suffix=%25&amp;query=$.typeCoverage.atLeast&amp;uri=https%3A%2F%2Fraw.githubusercontent.com%2Fplantain-00%2Ftype-coverage%2Fmaster%2Fpackage.json" alt="type-coverage"></a></p>
<h2 id="dicom-image-toolkit-for-cornerstonejs">Dicom Image Toolkit for CornerstoneJS</h2>
<h3 id="current-version%3A-2.4.16">Current version: 2.4.16</h3>
<h3 id="latest-published-release%3A-2.4.16">Latest Published Release: 2.4.16</h3>
<h3 id="current-version%3A-2.4.17">Current version: 2.4.17</h3>
<h3 id="latest-published-release%3A-2.4.17">Latest Published Release: 2.4.17</h3>
<p>This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.</p>
<h2 id="features%3A">Features:</h2>
<ul>
Expand Down
726 changes: 363 additions & 363 deletions docs/documentation/larvitar.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/examples/larvitar.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions imaging/imageRendering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ export const disableViewport = function (elementId: string | HTMLElement) {
console.error("invalid html element: " + elementId);
return;
}
const id: string = isElement(elementId) ? element.id : (elementId as string);
toggleMouseToolsListeners(id, true);
toggleMouseToolsListeners(element, true);
cornerstone.disable(element);
const id: string = isElement(elementId) ? element.id : (elementId as string);
setStore(["ready", id, false]);
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"medical",
"cornerstone"
],
"version": "2.4.16",
"version": "2.4.17",
"description": "typescript library for parsing, loading, rendering and interacting with DICOM images",
"repository": {
"url": "https://github.com/dvisionlab/Larvitar.git",
Expand Down

0 comments on commit 7438393

Please sign in to comment.