gtalarico / revitapidocs

Online Revit API Documentation: 2015, 2016, 2017, 2017.1, 2018
http://www.revitapidocs.com
33 stars 20 forks source link

highligh-copycode only works on first page load #125

Open gtalarico opened 6 years ago

gtalarico commented 6 years ago

event handler needs to be re-applied after ajax html content reload

gtalarico commented 6 years ago

repro

  1. open: revitapidocs.com/2017.1/c3523c35-4a07-9723-3c28-de3cc47b2ad0.htm

  2. copy works

  3. Open a different page

  4. reload page.

  5. navigate to page on #2 through treeview

  6. highlight copy click does not work