50-77-104. Guarding of stairways and other openings. It shall be the duty of all owners, contractors, builders, or persons having the direct and immediate control or supervision of any buildings in course of erection, which shall be more than 30 feet high, to see that all stairways, elevator openings, flues, and all other openings in the floors shall be covered or properly protected.