alejandro5042 / azdo-userscripts

A collection of userscripts to improve the Azure DevOps UI
https://alejandro5042.github.io/azdo-userscripts/
MIT License
40 stars 23 forks source link

Do not try to get InnerText for undefined element in Protocol Handler #179

Closed humberto-garza closed 2 years ago

humberto-garza commented 2 years ago

Description

Some people are having issues when they try to display the button for the VI Diff protocol handler.

Implementation

The issue is that sometimes the element does not contain any InnerText yet, so it errors out.

Testing

Asked the person who was able to reproduce this to test it and the problem went away.