mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-02 12:20:08 +00:00
fixed a bug in chrome app + object.js...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
61f171513b
commit
ea88c16472
@ -206,8 +206,15 @@ button:hover {
|
|||||||
}
|
}
|
||||||
/* empty ribbon set... */
|
/* empty ribbon set... */
|
||||||
.ribbon-set:empty {
|
.ribbon-set:empty {
|
||||||
width: 100%;
|
width: 100% !important;
|
||||||
height: 100%;
|
height: 100% !important;
|
||||||
|
top: 0px !important;
|
||||||
|
left: 0px !important;
|
||||||
|
-webkit-transform: none !important;
|
||||||
|
-moz-transform: none !important;
|
||||||
|
-o-transform: none !important;
|
||||||
|
-ms-transform: none !important;
|
||||||
|
transform: none !important;
|
||||||
}
|
}
|
||||||
.viewer:empty:before,
|
.viewer:empty:before,
|
||||||
.viewer:empty:after,
|
.viewer:empty:after,
|
||||||
|
|||||||
@ -45,7 +45,10 @@ function makeConstructor(name, a, b){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// this is here to make Chrome output more user friendly...
|
// this is here to make Chrome output more user friendly...
|
||||||
if(_constructor.name == 'Constructor'){
|
// skip for IE...
|
||||||
|
if(_constructor.name == 'Constructor'
|
||||||
|
// skip for chrome app...
|
||||||
|
&& !(window.chrome && chrome.runtime && chrome.runtime.id)){
|
||||||
eval('_constructor = '+ _constructor
|
eval('_constructor = '+ _constructor
|
||||||
.toString()
|
.toString()
|
||||||
.replace(/Constructor/g, name))
|
.replace(/Constructor/g, name))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user