Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit da4b908

Browse files
committedApr 6, 2015
fix issue with incorrect title
1 parent 89a8b0b commit da4b908

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎flag-icon.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@
106106
}
107107
}
108108

109-
var userTitle = this.textContent.trim();
110-
this.title = (userTitle.length > 0) ? userTitle : dataTitle;
111-
112109
if (this.width) {
113110
this.computedWidth = this.width;
114111
} else {
@@ -141,6 +138,9 @@
141138
dataTitle = null;
142139
this.src = null;
143140
}
141+
142+
var userTitle = this.textContent.trim();
143+
this.title = (userTitle.length > 0) ? userTitle : dataTitle;
144144
},
145145
created: function () {
146146
var countries = [

0 commit comments

Comments
 (0)
This repository has been archived.