Skip to content

Commit

Permalink
Merge pull request #151 from cynack/fix/ar_button_abtest_text
Browse files Browse the repository at this point in the history
fix: ABテストの文言が適用されていない問題を修正
  • Loading branch information
futahei authored Jul 15, 2022
2 parents 478f2d3 + 72ab868 commit 0fc23e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed

- 外部 CSS の影響を受けにくくなるように修正
- UI テキストを修正

## [1.6.5] - 2022-07-06

Expand Down
4 changes: 2 additions & 2 deletions src/figni-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1185,12 +1185,12 @@ export default class FigniViewerElement extends HTMLElement {
QRCode.toString(window.location.href, { width: 100 }, (err, str) => {
if (!err) {
const title = document.createElement('div')
title.innerText = '実物大で見る'
title.innerText = this.#ABTEST.AR_BUTTON_TEST
title.classList.add('figni-viewer-qrcode-panel-title')
panel.appendChild(title)
const text = document.createElement('div')
text.innerText =
'この機能はスマートフォンでのみ利用可能です。下記QRコードを読み取るとスマートフォンで閲覧できます。'
'この機能はスマートフォンでのみ利用可能です(一部端末除く)。スマートフォンで下記QRコードを読み取ると閲覧できます。'
text.classList.add('figni-viewer-qrcode-panel-text')
panel.appendChild(text)
panel.innerHTML += str.replace('#000000', '#222428')
Expand Down

0 comments on commit 0fc23e3

Please sign in to comment.