Fix code style

Refs #274
This commit is contained in:
Dan Stillman 2013-03-19 02:22:23 -04:00
parent 69d35f97b0
commit cf54a5da34

View file

@ -591,7 +591,9 @@ Zotero.Item.prototype.setType = function(itemTypeID, loadIn) {
this._itemDataLoaded = false; this._itemDataLoaded = false;
} }
else { else {
if(oldItemTypeID) this._markFieldChange('itemType', Zotero.ItemTypes.getName(oldItemTypeID)); if (oldItemTypeID) {
this._markFieldChange('itemType', Zotero.ItemTypes.getName(oldItemTypeID));
}
if (!this._changedPrimaryData) { if (!this._changedPrimaryData) {
this._changedPrimaryData = {}; this._changedPrimaryData = {};
} }