#356 Fixed copy button if have not flash installed

This commit is contained in:
Mario Colque 2014-02-18 16:40:14 -03:00
parent d23648befc
commit 91652d854d
2 changed files with 5 additions and 3 deletions

View File

@ -288,6 +288,7 @@ function spec() {
},
function (w_cb) {
self.getBlockFromFile(function(err,b) {
if (!b) return w_cb('Could not find block ' + self.startBlock);
h=b.hash;
setImmediate(function(){
return w_cb(err);

View File

@ -49,14 +49,15 @@ angular.module('insight')
};
client.on('mousedown', onMousedown);
client.on('noflash wrongflash', function() {
return elm.remove();
});
scope.$on('$destroy', function() {
client.off('mousedown', onMousedown);
});
});
clip.on('noFlash wrongflash', function() {
return elm.remove();
});
}
};
});