personal-notes display for card medium and cardfull is ok
This commit is contained in:
@ -560,7 +560,7 @@
|
||||
.each(function(i){
|
||||
protectFigures(this);
|
||||
if(_isLoggedIn){
|
||||
if(!$container.is('.modal-content')){
|
||||
if(!$container.is('.modal-content') && !$(this).is('.vm-cardfull')){
|
||||
// do not add preview btn if we are already on a preview
|
||||
initPreview(this);
|
||||
}else{
|
||||
@ -750,8 +750,9 @@
|
||||
};
|
||||
|
||||
MaterioBaseTheme.prototype.on_click_cardmedium = function(event){
|
||||
// trace('on_click_cardmedium', event);
|
||||
if(!$(event.target).is('.flag') && !$(event.target).parent().is('.flag'))
|
||||
trace('on_click_cardmedium', event);
|
||||
// if(!$(event.target).is('.flag') && !$(event.target).parent().is('.flag'))
|
||||
if($(event.target).is('.side') || $(event.target).parents('.side').length)
|
||||
sideSwitcher(event);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user