mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
Consistent formatting
This commit is contained in:
parent
511622c533
commit
a67341a870
1 changed files with 4 additions and 6 deletions
|
@ -446,9 +446,8 @@ function batch_recording_rels() {
|
|||
}
|
||||
|
||||
function parse_recording(node, $row) {
|
||||
var
|
||||
$attrs = $row.children("td.bpr_attrs"),
|
||||
performed = false;
|
||||
var $attrs = $row.children("td.bpr_attrs");
|
||||
var performed = false;
|
||||
|
||||
$row.data("performances", []);
|
||||
$attrs.data("checked", false).css("color", "black");
|
||||
|
@ -466,9 +465,8 @@ function batch_recording_rels() {
|
|||
|
||||
var attrs = [];
|
||||
_.each(rel.attributes, function (name) {
|
||||
var
|
||||
cannonical_name = name.toLowerCase(),
|
||||
$button = $attrs.find("span." + cannonical_name)
|
||||
var cannonical_name = name.toLowerCase();
|
||||
var $button = $attrs.find("span." + cannonical_name);
|
||||
|
||||
attrs.push(cannonical_name);
|
||||
if (!$button.data("checked")) {
|
||||
|
|
Loading…
Reference in a new issue