Display project analytics in modal box
This commit is contained in:
6
assets/js/app.min.js
vendored
6
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -26,4 +26,14 @@
|
||||
KB.onClick('.js-modal-close', function () {
|
||||
KB.modal.close();
|
||||
});
|
||||
|
||||
KB.onClick('.js-modal-replace', function (e) {
|
||||
var link = getLink(e);
|
||||
|
||||
if (KB.modal.isOpen()) {
|
||||
KB.modal.replace(link);
|
||||
} else {
|
||||
window.location.href = link;
|
||||
}
|
||||
});
|
||||
}());
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
|
||||
switch (size) {
|
||||
case 'large':
|
||||
return viewport.width < 1300 ? '95%' : '1300px';
|
||||
return viewport.width < 1350 ? '98%' : '1350px';
|
||||
case 'medium':
|
||||
return viewport.width < 1024 ? '70%' : '1024px';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user