Skip to content

Avoid throwing styleimagemissing event for empty strings - #8840

Merged
ryanhamley merged 1 commit into
masterfrom
empty-string-no-styleimagemissing
Oct 7, 2019
Merged

ryanhamley merged 1 commit into
masterfrom
empty-string-no-styleimagemissing

Conversation

@ryanhamley

Copy link
Copy Markdown
Contributor

Launch Checklist

Fixes #8800

  • briefly describe the changes in this PR
    • The image operator treated empty strings the same as any other string so the styleimagemissing operator was fired with icon-image: "". This PR filters out the empty string and treats it as if icon-image was not defined.
  • manually test the debug page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop warning thrown when image equates to "" and image expression type is not used

3 participants