1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 10:01:08 +12:00

this fixes reload button

This commit is contained in:
gorhill 2015-04-13 15:01:12 -04:00
parent 2d4431fe0c
commit 5f177a2e30

View file

@ -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) {