Commit 1972cf79 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

lint issues

parent 86717b02
......@@ -524,7 +524,7 @@ AbstractCustomMap.prototype.getTopMap = function() {
*/
AbstractCustomMap.prototype._resizeSelectedLayout = function(layoutId, index, length) {
var self = this;
return new Promise(function(resolve, reject) {
return new Promise(function(resolve) {
// if map is not initialized then don't perform this operation
if (!self.initialized) {
logger.debug("Model " + self.getId() + " not initialized");
......
......@@ -1319,7 +1319,7 @@ CustomMap.prototype.refreshInfoWindows = function() {
CustomMap.prototype.openInfoWindowForAlias = function(aliasId, modelId) {
logger.debug("Opening info window for alias: " + aliasId + ", model: " + modelId);
var model = this.getSubmodelById(modelId);
return model.getModel().getAliasById(aliasId, true).then(function(alias) {
return model.getModel().getAliasById(aliasId, true).then(function() {
model._openInfoWindowForAlias(aliasId);
});
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment