Skip to content

Commit

Permalink
Merge branch 'release/v8.1.0' of https://github.com/ONLYOFFICE/web-apps
Browse files Browse the repository at this point in the history
… into release/v8.1.0
  • Loading branch information
maxkadushkin committed Mar 19, 2024
2 parents 46941e6 + 11517b4 commit 935701c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/spreadsheeteditor/embed/js/ApplicationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ SSE.ApplicationController = new(function(){

var styleAttr = "";
var color = api.asc_getWorksheetTabColor(i);

if (color) {
styleAttr = 'style="box-shadow: inset 0 4px 0 rgba({r}, {g}, {b}, {a})"'
.replace(/\{r}/, color.r)
.replace(/\{g}/, color.g)
.replace(/\{b}/, color.b)
.replace(/\{a}/, color.a);
styleAttr = 'style="box-shadow: inset 0 4px 0 rgb({r}, {g}, {b})"'
.replace(/\{r}/, color.get_r())
.replace(/\{g}/, color.get_g())
.replace(/\{b}/, color.get_b());
}

// escape html
Expand Down

0 comments on commit 935701c

Please sign in to comment.