|
@@ -245,13 +245,13 @@ ConnectionIndicator.prototype.showMore = function () {
|
245
|
245
|
};
|
246
|
246
|
|
247
|
247
|
|
248
|
|
-function createIcon(classes) {
|
|
248
|
+function createIcon(classes, iconClass) {
|
249
|
249
|
var icon = document.createElement("span");
|
250
|
250
|
for(var i in classes) {
|
251
|
251
|
icon.classList.add(classes[i]);
|
252
|
252
|
}
|
253
|
253
|
icon.appendChild(
|
254
|
|
- document.createElement("i")).classList.add("icon-connection");
|
|
254
|
+ document.createElement("i")).classList.add(iconClass);
|
255
|
255
|
return icon;
|
256
|
256
|
}
|
257
|
257
|
|
|
@@ -282,9 +282,9 @@ ConnectionIndicator.prototype.create = function () {
|
282
|
282
|
}.bind(this);
|
283
|
283
|
|
284
|
284
|
this.emptyIcon = this.connectionIndicatorContainer.appendChild(
|
285
|
|
- createIcon(["connection", "connection_empty"]));
|
|
285
|
+ createIcon(["connection", "connection_empty"], "icon-connection"));
|
286
|
286
|
this.fullIcon = this.connectionIndicatorContainer.appendChild(
|
287
|
|
- createIcon(["connection", "connection_full"]));
|
|
287
|
+ createIcon(["connection", "connection_full"], "icon-connection"));
|
288
|
288
|
};
|
289
|
289
|
|
290
|
290
|
/**
|