* Bugfix: ein preventDefault() zuviel entfernt
* Theme Funktionalität hinzugefügt * style.css und sora.ttf in eigenes Theme verschoben
This commit is contained in:
parent
891565f76c
commit
14b9ca6686
@ -6,6 +6,9 @@ $title = "imgpaste by gideonstar";
|
||||
// Displayed text
|
||||
$text = "Click or drop image here...";
|
||||
|
||||
// Themes can be found in the themes directory
|
||||
$theme = "gideonstar";
|
||||
|
||||
// Writeable directory for images. Will be created if it does not exist.
|
||||
$datadir = "i";
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?php echo $title; ?></title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="themes/<?php echo $theme; ?>/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
@ -1,6 +1,7 @@
|
||||
dropzone = document.getElementById('dropzone');
|
||||
|
||||
dropzone.addEventListener('dragover', function(e) {
|
||||
e.preventDefault();
|
||||
this.classList.remove('nodrop');
|
||||
this.classList.add('drop');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user