##// END OF EJS Templates
pull-requests: don't select first commit in case we don't get default branch. Loading...
pull-requests: don't select first commit in case we don't get default branch. Loading compare from commit 0 to something selected is very heavy to compute. Instead force user to select the ref manually. ref #5414

File last commit:

r882:d869b56a default
r2474:829818ee default
Show More
rhodecode-favicon.js
20 lines | 425 B | application/javascript | JavascriptLexer
Polymer({
is: 'rhodecode-favicon',
properties: {
favicon: Object,
counter: {
type: Number,
observer: '_handleCounter'
}
},
ready: function () {
this.favicon = new Favico({
type: 'rectangle',
animation: 'none'
});
},
_handleCounter: function (newVal, oldVal) {
this.favicon.badge(this.counter);
}
});