Skip to content

Commit

Permalink
fix: a is not defined in this example. (#226)
Browse files Browse the repository at this point in the history
* fix: a is not defined in this example.

* fix: set a clearer name for the var

Co-authored-by: Yotam Berkowitz <[email protected]>
  • Loading branch information
awesomeQiuJH and yotamberk committed Dec 21, 2019
1 parent 20e8eaf commit c38a816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/timeline/groups/verticalItemsHide.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ <h3 id="visibleItemsContainer"></h3>

<script>
function showVisibleItems() {
var visibleItems = timeline.getVisibleItems();
document.getElementById("visibleItemsContainer").innerHTML = ""
document.getElementById("visibleItemsContainer").innerHTML += a;
document.getElementById("visibleItemsContainer").innerHTML += visibleItems;
};

// get selected item count from url parameter
Expand Down

0 comments on commit c38a816

Please sign in to comment.