| @@ -26,12 +26,16 @@ | ||
| 26 | 26 | |
| 27 | 27 | $js_path = OPENSTATION_DIR . 'assets/js/widget-notes' . $suffix . '.js'; |
| 28 | 28 | $css_path = OPENSTATION_DIR . 'assets/js/widget-notes' . $suffix . '.css'; |
| 29 | 29 | |
| 30 | + // Depends on `os-files` because the pad's sheets wear the | |
| 31 | + // canonical `.os-file-tile` chrome while being dragged — anything | |
| 32 | + // that restyles a tile has to print after the file that declares | |
| 33 | + // one, whatever order the two handles were enqueued in. | |
| 30 | 34 | wp_register_style( |
| 31 | 35 | 'os-notes-widget', |
| 32 | 36 | OPENSTATION_URL . 'assets/js/widget-notes' . $suffix . '.css', |
| 33 | - array(), | |
| 37 | + array( 'os-files' ), | |
| 34 | 38 | file_exists( $css_path ) ? (string) filemtime( $css_path ) : $version |
| 35 | 39 | ); |
| 36 | 40 | |
| 37 | 41 | wp_register_script( |