|
|
@ -899,10 +899,8 @@ XmasUI.prototype.newLight = function(l, parent) { |
|
|
|
var light = document.createElement("div"); |
|
|
|
var light = document.createElement("div"); |
|
|
|
light.className = "hues-x-light"; |
|
|
|
light.className = "hues-x-light"; |
|
|
|
var bulb = document.createElement("div"); |
|
|
|
var bulb = document.createElement("div"); |
|
|
|
var on = document.createElement("img"); |
|
|
|
var on = document.createElement("div"); |
|
|
|
on.src = "./img/lighton.png"; |
|
|
|
var off = document.createElement("div"); |
|
|
|
var off = document.createElement("img"); |
|
|
|
|
|
|
|
off.src = "./img/lightoff.png"; |
|
|
|
|
|
|
|
bulb.appendChild(on); |
|
|
|
bulb.appendChild(on); |
|
|
|
bulb.appendChild(off); |
|
|
|
bulb.appendChild(off); |
|
|
|
light.appendChild(bulb); |
|
|
|
light.appendChild(bulb); |
|
|
|