Skip to content

Commit 13f2e22

Browse files
committed
Merge pull request zenorocha#41 from tadeuzagallo/master
Display options won't work without cache
2 parents 3b135ab + 3c8c8c0 commit 13f2e22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jquery.github.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ function Github( element, options ) {
6767
this._defaults = defaults;
6868

6969
this.init();
70-
this.displayIcons();
7170
}
7271

7372
// Initializer
@@ -151,6 +150,8 @@ Github.prototype.applyTemplate = function ( repo ) {
151150
$widget = githubRepo.toHTML();
152151

153152
$widget.appendTo( this.$container );
153+
154+
this.displayIcons();
154155
};
155156

156157
// -- Attach plugin to jQuery's prototype --------------------------------------

0 commit comments

Comments
 (0)