lars-erik / Our.Umbraco.WysiwygGrid

Overrides for the Umbraco Grid to allow styling and multiple class settings in the backoffice
MIT License
0 stars 0 forks source link

Return early if the target row element doesn't exist #2

Closed JasonElkin closed 2 months ago

JasonElkin commented 3 years ago

Fix for issue #1

At the point that grid.initialized fires there isn't always a 1:1 between rows and umb-row-inner so the safest thing to do is just check if the element exists and, if not, just do nothing.