ranbuch / accessibility

add accessibility to your website
MIT License
291 stars 39 forks source link

Disabling options not working #61

Closed rudachenkoev closed 6 months ago

rudachenkoev commented 6 months ago

56

Disabling the increaseLineHeight and decreaseLineHeight options does not work. I suspect this is because the IAccessibilityModulesOptions interface lacks these parameters.

new Accessibility({
  modules: {
    increaseLineHeight: false,
    decreaseLineHeight: false
  }
})
ranbuch commented 6 months ago

@rudachenkoev you are correct. Please try version 4.5.12, I'll push to repo soon but npm is already updated.