mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Merge pull request #204 from rgravina/188_fix_jshint_warnings
This commit is contained in:
+4
-5
@@ -114,11 +114,11 @@
|
||||
.addClass('customSelect')
|
||||
.addClass('menuBtn')
|
||||
.appendTo(menu);
|
||||
var options = $('<span>')
|
||||
var selectOptions = $('<span>')
|
||||
.addClass('customSelectOptions')
|
||||
.appendTo(customSelect);
|
||||
var optionsList = $('<ul>')
|
||||
.appendTo(options);
|
||||
.appendTo(selectOptions);
|
||||
$('<li>')
|
||||
.text("language.")
|
||||
.appendTo(optionsList);
|
||||
@@ -339,7 +339,7 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
Engine.autoSelect('#description textarea')
|
||||
Engine.autoSelect('#description textarea');
|
||||
},
|
||||
|
||||
import64: function(string64) {
|
||||
@@ -462,7 +462,6 @@
|
||||
var darkCss = Engine.findStylesheet('darkenLights');
|
||||
if (darkCss == null) {
|
||||
$('head').append('<link rel="stylesheet" href="css/dark.css" type="text/css" title="darkenLights" />');
|
||||
Engine.turnLightsOff;
|
||||
$('.lightsOff').text(_('lights on.'));
|
||||
} else if (darkCss.disabled) {
|
||||
darkCss.disabled = false;
|
||||
@@ -496,7 +495,7 @@
|
||||
var diff = Math.abs(panelIndex - currentIndex);
|
||||
slider.animate({left: -(panelIndex * 700) + 'px'}, 300 * diff);
|
||||
|
||||
if($SM.get('stores.wood') != undefined) {
|
||||
if($SM.get('stores.wood') !== undefined) {
|
||||
// FIXME Why does this work if there's an animation queue...?
|
||||
stores.animate({right: -(panelIndex * 700) + 'px'}, 300 * diff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user