Add style.display check for inline-block when determining element visibility

When checking for visibility, style.display is checked to match “inline”.  Added a check for “inline-block”.