Skip to content

Wrong code at documentation page #67

@ahsan-gill

Description

@ahsan-gill

Hello,

To close all open OpenTip instances, the code provided on documentation page do not work.

Here it is:
for(var i = 0; i < Opentip.tips; i ++) { Opentip.tips[i].hide(); }

Whereas it should be:
for(var i = 0; i < Opentip.tips.length; i ++) { Opentip.tips[i].hide(); }

The above code closes all open tip instances. Thanks

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions