Libs/jQuery

* updated to 1.12.4 (plus compatibility changes in affected javascripts)
 * fixed double escapes on featuredbox text
 * fixed rogue whitespace
This commit is contained in:
Sarjuuk
2017-02-11 15:29:02 +01:00
parent d0f64fe66c
commit ca0e57b99c
11 changed files with 25 additions and 167 deletions

View File

@@ -1164,7 +1164,7 @@ function fi_presetClass(_this, stealth) {
}
if(!stealth && (_this.form.ub.selectedIndex == 0 || _this.form.ub.value == oldValue)) {
$('select[name=ub] option[value=' + _this.value + ']').attr('selected', 'selected');
$('select[name=ub] option[value="' + _this.value + '"]').attr('selected', 'selected');
}
while (_.firstChild) {
@@ -1338,8 +1338,8 @@ function fi_presetSave() {
for (i = 0; i < _.childNodes.length; ++i) {
var
w = fi_Lookup($('[name=wt[]]', _.childNodes[i]).val()),
v = $('[name=wtv[]]', _.childNodes[i]).val();
w = fi_Lookup($('[name="wt[]"]', _.childNodes[i]).val()),
v = $('[name="wtv[]"]', _.childNodes[i]).val();
if (w && v != 0) {
scale[w.name] = v;