mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-29 19:40:27 +12:00
this fixes reload button
This commit is contained in:
parent
2d4431fe0c
commit
5f177a2e30
|
@ -50,7 +50,6 @@ var matrixSnapshot = {};
|
|||
var groupsSnapshot = [];
|
||||
var allHostnamesSnapshot = 'do not leave this initial string empty';
|
||||
|
||||
var targetTabId;
|
||||
var matrixCellHotspots = null;
|
||||
|
||||
var matrixHeaderPrettyNames = {
|
||||
|
@ -1108,7 +1107,7 @@ function revertAll() {
|
|||
function buttonReloadHandler() {
|
||||
messager.send({
|
||||
what: 'forceReloadTab',
|
||||
tabId: targetTabId
|
||||
tabId: matrixSnapshot.tabId
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1174,7 +1173,7 @@ var onMatrixSnapshotReady = function(response) {
|
|||
var queryMatrixSnapshot = function(callback) {
|
||||
var request = {
|
||||
what: 'matrixSnapshot',
|
||||
tabId: targetTabId,
|
||||
tabId: matrixSnapshot.tabId,
|
||||
tabURL: matrixSnapshot.url
|
||||
};
|
||||
var snapshotReceived = function(response) {
|
||||
|
|
Loading…
Reference in a new issue