We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fd3d66 commit 422523dCopy full SHA for 422523d
assets/js/img.screenfull.js
@@ -1,9 +1,11 @@
1
(function(window, document) {
2
var sf = function($imgs) {
3
$imgs.forEach(function($img) {
4
- $img.addEventListener('click', function() {
5
- show(this);
6
- }, false);
+ if ($img.classname.indexOf('no-screenfull') === -1) {
+ $img.addEventListener('click', function () {
+ show(this);
7
+ }, false);
8
+ }
9
});
10
};
11
ppts/demo.md
@@ -417,6 +417,13 @@ nodeppt:https://github.com/ksky521/nodePPT
417

418
419
420
+[slide]
421
+
422
+## 图片,禁止全屏
423
+----
424
425
+<img src="/girl.jpg" class="not">
426
427
[slide]
428
[note]
429
##这里是note
0 commit comments