I'm using a knockoutjs extension to place a loader on top of an element that is loaded from an ajax request so that a loading gif is show while the request is executing.
The fiddle is very basic:
- It loads a list of avatars and shows the loading image while the ajax request is executing.
- Then, when you click an avatar, it's details are loaded into another placeholder and a loading icon is also shown while the request is executing.
The problem is, the very first time I click on an avatar, the loading icon isn't shown but all subsequential clicks works. What am I missing here?
Thanks!