Skip to content

Commit

Permalink
Change icon class for add menu
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Mar 1, 2017
1 parent 9b068ed commit 82a41ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
*
*/

.onlyoffice-new-docx {
.icon-onlyoffice-new-docx {
background-image: url("../img/new-docx.svg");
}
.onlyoffice-new-xlsx {
.icon-onlyoffice-new-xlsx {
background-image: url("../img/new-xlsx.svg");
}
.onlyoffice-new-pptx {
.icon-onlyoffice-new-pptx {
background-image: url("../img/new-pptx.svg");
}
6 changes: 3 additions & 3 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
menu.addMenuEntry({
id: "onlyofficeDocx",
displayName: t(OCA.Onlyoffice.AppName, "Document"),
iconClass: "onlyoffice-new-docx",
iconClass: "icon-onlyoffice-new-docx",
fileType: "docx",
actionHandler: function (name) {
OCA.Onlyoffice.CreateFile(name + ".docx", fileList);
Expand All @@ -174,7 +174,7 @@
menu.addMenuEntry({
id: "onlyofficeXlsx",
displayName: t(OCA.Onlyoffice.AppName, "Spreadsheet"),
iconClass: "onlyoffice-new-xlsx",
iconClass: "icon-onlyoffice-new-xlsx",
fileType: "xlsx",
actionHandler: function (name) {
OCA.Onlyoffice.CreateFile(name + ".xlsx", fileList);
Expand All @@ -184,7 +184,7 @@
menu.addMenuEntry({
id: "onlyofficePpts",
displayName: t(OCA.Onlyoffice.AppName, "Presentation"),
iconClass: "onlyoffice-new-pptx",
iconClass: "icon-onlyoffice-new-pptx",
fileType: "pptx",
actionHandler: function (name) {
OCA.Onlyoffice.CreateFile(name + ".pptx", fileList);
Expand Down

0 comments on commit 82a41ab

Please sign in to comment.