question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

uiCompleteScript is not loading

See original GitHub issue

I have integrated this module and everything is working fine except one thing that is uiCompleteScript option.

I have added below line

uiCompleteScript: 'document.getElementsByClassName("download-url-wrapper")[0].style.display = "none"; document.getElementsByClassName("download-url-input")[0].style.display = "none";'

Is this option got changed or it’s not working in this version? Previously it was working fine.

Help will be appreciated. Thanks in advance.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
robmcguinnesscommented, Aug 29, 2019

@anuragmishra1 this does appear to be missed in the refactor. Swagger UI does provide a hook called onComplete but hapi-swagger doesn’t expose that option. I’ll fix asap.

0reactions
robmcguinnesscommented, May 5, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Script file not loading - Stack Overflow
My lightbox script file wasn't loeading properly: ... I then removed type="text/javascript" and it loaded perfectly.
Read more >
How to tell if a <script> tag failed to load? - GeeksforGeeks
There are two methods which are discussed below: Approach 1: Set a variable loaded = false.
Read more >
Javascript Loading and Execution - Medium
First of all, I want to talk about the loading and execution of Javascript. Generally speaking, the browser has two major features for...
Read more >
4. Loading Scripts Without Blocking - Even Faster Web Sites ...
Script Defer shouldn't be used because it forces scripts to be loaded in order, whereas the page loads faster if scripts are executed...
Read more >
Scripts: async, defer - The Modern JavaScript Tutorial
DOMContentLoaded event means HTML document has been completely loaded and parsed. For defer script, it may create/delete DOM elements, so ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found