소스 검색

Properly display current version in popup

master
Said Achmiz 6 년 전
부모
커밋
a0322b1174
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      popup.html
  2. 3
    0
      popup.js

+ 1
- 1
popup.html 파일 보기

@@ -6,7 +6,7 @@
</head>
<body>
<div class='info-header'>
AlwaysKillSticky <span class='version'>0.6</span>
AlwaysKillSticky <span class='version'>0.0</span>
</div>
<div class='main-button-container'>
<button type='button' class='main-button'></button>

+ 3
- 0
popup.js 파일 보기

@@ -155,6 +155,9 @@ function updateUIState() {

function initialize() {
window.ASK = { };
// Update version.
document.querySelector(".info-header .version").innerHTML = chrome.runtime.getManifest().version;

// Retrieve saved settings.
chrome.tabs.query({currentWindow: true, active: true}, (tabs) => {

Loading…
취소
저장