Merge branch 'main' into afiqhamzah-feat-add-capture-marhun-picture
This commit is contained in:
Vendored
+1
-1
@@ -60,7 +60,7 @@ article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||
display: block; }
|
||||
|
||||
.bg-image {
|
||||
background-image: url("/img/bg1.jpg");
|
||||
background-image: url("/img/background_2.jpg");
|
||||
background-position: top left;
|
||||
background-size: 100%;
|
||||
background-repeat: repeat;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 295 KiB |
Vendored
+5
-1
@@ -2,8 +2,12 @@ function marhunPhotoViewerFactory(button_selector) {
|
||||
|
||||
return {
|
||||
attachPhotoViewer: function () {
|
||||
|
||||
if(! document.querySelector(button_selector)){
|
||||
return;
|
||||
};
|
||||
|
||||
document.querySelector(button_selector).addEventListener('click', (event) => {
|
||||
// document.querySelector('a.btn-view-marhun-photo').addEventListener('click', (event) => {
|
||||
event.preventDefault();
|
||||
|
||||
const image = new Image();
|
||||
|
||||
Reference in New Issue
Block a user