123456789101112131415161718192021 |
- setup.CLR = function(){
- var passage = $('.passage');
- var marker = $('#CLR_marker');
-
- if (marker.length) {
-
- var remove = true;
-
- passage.contents().each(function() {
- if (this === marker[0]) {
-
- remove = false;
- this.remove();
- } else if (remove) {
-
- this.remove();
- }
- });
- }
- };
|