Skip to content

Commit

Permalink
#166 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil committed Oct 16, 2024
1 parent f52fe51 commit 8a21bc9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions js/pages/solmosaic.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For licenses that allow for commercial use please contact [email protected].
**************************************************************************/
'use strict'

/*global cAppSolButtons,cSolMosaicPageConstants*/
/*global cAppSolButtons cSolMosaicPageConstants cRender*/
//eslint-disable-next-line no-unused-vars
class cSolMosaic {
static current_sol = null
Expand Down Expand Up @@ -71,11 +71,14 @@ class cSolMosaic {

const oData = poHttp.response
if (oData.mos == null) {
oDiv.append(cRender.messagebox('unable to create highlight'))
oDiv.append(cRender.messagebox('unable to create mosaic'))
return
}

const sImgUrl = cBrowser.buildUrl(cAppLocations.mosaicer, oData)
const oParams = {}
oParams[cAppUrlParams.MOSAIC_PARAM] = oData[cAppUrlParams.MOSAIC_PARAM]

const sImgUrl = cBrowser.buildUrl(cAppLocations.mosaicer, oParams)
const oImg = $('<img>', { src: sImgUrl, class: 'image' })
const oThis = this
oImg.click(() => oThis.onClickMosaic(oData))
Expand Down

0 comments on commit 8a21bc9

Please sign in to comment.