#356 Fixed copy button if have not flash installed
This commit is contained in:
parent
d23648befc
commit
91652d854d
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue